When referencing `NSObject`, it's enough to import `objc/NSObject.h`. Importing `Foundation` is unnecessary in these cases. Differential Revision: https://reviews.llvm.org/D99867
12 lines
180 B
Objective-C
12 lines
180 B
Objective-C
#import <objc/NSObject.h>
|
|
|
|
@interface IAmBlocky : NSObject
|
|
{
|
|
@public
|
|
int blocky_ivar;
|
|
}
|
|
+ (void) classMethod;
|
|
- (IAmBlocky *) init;
|
|
- (int) callABlock: (int) block_value;
|
|
@end
|