共有方法都可以继承下来
@protocol
OneDelegate <nsobject>
@required
- (
void
)backStr:(NSString *)str;
@end
TwoDelegate <onedelegate>
@optional
)backInt:(
int
)i;