Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using NSObject instead of Object

  • Loading branch information...
commit 11c442f92fd6fcb05e7a59a180f3aea23d573be4 1 parent 303845b
@mcandre authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  Makefile
  2. +2 −2 ObjCheck.h
View
2  Makefile
@@ -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
4 ObjCheck.h
@@ -1,6 +1,6 @@
-#import <objc/Object.h>
+#import <Foundation/Foundation.h>
-@interface ObjCheck: Object {}
+@interface ObjCheck: NSObject {}
+ (id) genNum;
+ (id) genBool;
Please sign in to comment.
Something went wrong with that request. Please try again.