@interface A -(void)method1; @end @interface B -(void)method1 __attribute__((unavailable)); @end