We need to import foundation to get a 'NSLog' declaration when building against the iOS SDK. This doesn't appear necessary when building against the macOS SDK, presumable because it gets transitively imported by objc/NSObject.h
11 lines
130 B
Objective-C
11 lines
130 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "Test.h"
|
|
|
|
@implementation Test
|
|
- (void) doTest {
|
|
NSLog(@"-[Test doTest]");
|
|
}
|
|
@end
|
|
|