TouchLabel.h 836 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // TouchLabel.h
  3. // Apex Mobile
  4. //
  5. // Created by Ray on 14-3-5.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <Foundation/Foundation.h>
  10. @class TouchLabel;
  11. @protocol TouchLabelDelegate <NSObject>
  12. @required
  13. - (void)touchLabel:(TouchLabel *)touchLabel touchesWtihTag:(NSInteger)tag;
  14. - (void)touchLabel:(TouchLabel *)touchLabel OnTouche:(TouchLabel*) label;
  15. @end
  16. @interface TouchLabel : UILabel
  17. {
  18. @private
  19. // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
  20. id <TouchLabelDelegate> __unsafe_unretained delegate;
  21. }
  22. //@property (unsafe_unretained) IBOutlet id <MDSpreadViewDataSource> dataSource;
  23. @property (unsafe_unretained) id <TouchLabelDelegate> delegate;
  24. - (id)initWithFrame:(CGRect)frame;
  25. @property(nonatomic) UIEdgeInsets insets;
  26. @end