CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Mar 2016 |
| SPMSupports SPM | ✗ |
Maintained by Fan Liu.
An interactive UILabel, can detect URLs, @username, #topic# automatically.
import FFLabellabel.text = "#FFLabel#This is a @FFLabel Demo, access http://github.com/liufan321/fflabel can get the demo project. Follow @liufan2000 to get more information."class ViewController: UIViewController, FFLabelDelegatefunc labelDidSelectedLinkText(label: FFLabel, text: String) {
print(text)
}#import "FFLabelObjcDemo-Swift.h"self.label.labelDelegate = self;
self.label.text = @"#FFLabel#This is a @FFLabel Demo, access http://github.com/liufan321/fflabel can get the demo project. Follow @liufan2000 to get more information.";@interface ViewController () <FFLabelDelegate>- (void)labelDidSelectedLinkText:(FFLabel * __nonnull)label text:(NSString * __nonnull)text {
NSLog(@"%@", text);
}FFLabel is released under the MIT license. See LICENSE for details.