lib/cocoa/examples: we do not need to import framework headers anymore
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 15 Jan 2015 19:38:15 +0000 (14:38 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 16 Jan 2015 04:28:35 +0000 (23:28 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/cocoa/examples/cocoa_message_box.nit
lib/cocoa/examples/hello_cocoa.nit

index 72e35d7..224c7ab 100644 (file)
@@ -19,10 +19,6 @@ module cocoa_message_box
 
 import cocoa
 
-in "ObjC" `{
-       #import <Cocoa/Cocoa.h>
-`}
-
 fun dialog in "ObjC" `{
        NSAlert *alert = [[[NSAlert alloc] init] autorelease];
        [alert setMessageText:@"Hello world!"];
index 3a2b168..960b001 100644 (file)
@@ -19,10 +19,6 @@ module hello_cocoa
 
 import cocoa::foundation
 
-in "ObjC" `{
-       #import <Foundation/Foundation.h>
-`}
-
 # Print `"Hello world!"` to the log
 fun hello_world in "ObjC" `{
        @autoreleasepool {