摘要:
//产生delegate类//classA.h@protocol classADelegate <NSObject> //定义delegate@optional-(void)didDelegateSuccess; //delegate方法@end@interface classA: NSObject { id<classADelegate> delgate; //绑定delegate}@property (nonatomic,retain) id<classADelegate> delgate;@end//classA.m- (void)doOk { [de 阅读全文