Permalink
Browse files

using NSObject instead of Object

  • Loading branch information...
1 parent 303845b commit 11c442f92fd6fcb05e7a59a180f3aea23d573be4 @mcandre committed Oct 16, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile
  2. +2 −2 ObjCheck.h
View
@@ -1,7 +1,7 @@
all: example
example: example.m ObjCheck.m ObjCheck.h
- gcc -o example -lobjc -framework foundation example.m ObjCheck.m
+ gcc -o example -framework foundation example.m ObjCheck.m
clean:
-rm example
View
@@ -1,6 +1,6 @@
-#import <objc/Object.h>
+#import <Foundation/Foundation.h>
-@interface ObjCheck: Object {}
+@interface ObjCheck: NSObject {}
+ (id) genNum;
+ (id) genBool;

0 comments on commit 11c442f

Please sign in to comment.