// // UILabel+LinkUrl.h // WildFireChat // // Created by heavyrain.lee on 2018/5/15. // Copyright © 2018 WildFireChat. All rights reserved. // #import @protocol AttributedLabelDelegate @optional - (void)didSelectUrl:(NSString *)urlString; - (void)didSelectPhoneNumber:(NSString *)phoneNumberString; @end @interface AttributedLabel : UILabel @property(nonatomic, weak)id attributedLabelDelegate; - (void)setText:(NSString *)text; @end