摘要:
注册:[[NSNotificationCenter defaultCenter] postNotificationName:@"changeColor" object:self];接收处观察 : [[NSNotificationCenter defaultCenter] addObserver:se... 阅读全文
摘要:
代理:MyAlertView.h:@property (nonatomic,assign)id delegate;@protocol MyAlertViewDelegate - (void)myAlertView:(MyAlertView *)alertView clickedButton... 阅读全文