1234567891011121314151617181920 |
- #import <UIKit/UIKit.h>
- @protocol AttributedLabelDelegate <NSObject>
- @optional
- - (void)didSelectUrl:(NSString *)urlString;
- - (void)didSelectPhoneNumber:(NSString *)phoneNumberString;
- @end
- @interface AttributedLabel : UILabel
- @property(nonatomic, weak)id<AttributedLabelDelegate> attributedLabelDelegate;
- - (void)setText:(NSString *)text;
- @end
|