ios 设置委托delegate
摘要:        
为了进行页面传值,也可以用委托的方法。下面以时间控件为例。1.首先,在.h 文件设置委托#import @protocol DatePickerViewDelegate;@class DatePickerView;@interface DatePickerView :UIView@property (strong, nonatomic) NSString *dateContent;@property (strong, nonatomic) UIDatePicker *datePicker;@property (assign, nonatomic) id delegate;-(void...    阅读全文
		
		posted @ 2013-08-14 14:30 Hai_阔天空 阅读(491) 评论(0) 推荐(0)
                    
                
浙公网安备 33010602011771号