HTMLLabel
HTMLLabel copied to clipboard
Use of undeclared type 'HTMLLabel'
I have a UITableViewController
in which I'm trying to conform to HTMLLabelDelegate
, and when I add the delegate methods:
func HTMLLabel(label: HTMLLabel!, tappedLinkWithURL URL: NSURL!, bounds: CGRect)
and
func HTMLLabel(label: HTMLLabel!, shouldOpenURL URL: NSURL!) -> Bool
I get an error of Use of undeclared type 'HTMLLabel'
.
Simply declaring an HTMLLabel results in the same error.
var label: HTMLLabel //Use of undeclared type 'HTMLLabel'
Currently it's integrated via Cocoapods. I did import HTMLLabel
, and still it's not seeing the type (even though autocomplete sees the methods). I'm wondering if the class is somehow being marked as internal
, instead of public
, so it's not being able to be seen in another module?