object-c
필요한 라이브러리 설치
$ sudo apt-get install gobjc libobjc2 build-essential scons
기본적인 빌드 방법
$ cc -Wall main.m MyObject.m -lobjc_gc -ldl
다음 위치에 헤더들이 있다.
/usr/lib/gcc/x86_64-linux-gnu/4.4/include/objc
tips
#import <Foundation/NSObject.h> 대치 법
#import <objc/Object.h> @compatibility_alias NSObject Object;
references
object-c.txt · Last modified: 2013/08/03 05:04 by 127.0.0.1