optonaut / ActiveLabel.swift

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift
MIT License
4.47k stars 686 forks source link

Error while casting label as ActiveLabel with Interface Builder #168

Closed sebastienboulogne closed 5 years ago

sebastienboulogne commented 7 years ago

Hello, i would like to create a label with Interface Builder and cast it as ActiveLabel (ex : @IBOutlet weak var postMessageCell: ActiveLabel! ) I set ActiveLabel class as a custom class for the label but i've got this error from Xcode : Use of undeclared type 'ActiveLabel'.

So how to create a simple label with Interface Builder and cast it as an Active Label ?

Thank you

askopin commented 7 years ago

use field "module" under class name in IB to point where xcode should search for your class

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.