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
7 lines
77 B
Objective-C
7 lines
77 B
Objective-C
#import <objc/NSObject.h>
|
|
|
|
@interface MyClass : NSObject
|
|
{}
|
|
- (id)init;
|
|
@end
|