User Tools

Site Tools


object-c

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
object-c [2010/12/31 07:00] suapapaobject-c [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 7: Line 7:
 $ cc -Wall main.m MyObject.m -lobjc_gc -ldl $ cc -Wall main.m MyObject.m -lobjc_gc -ldl
 </code> </code>
 +다음 위치에 헤더들이 있다. 
 +<code bash> 
 +/usr/lib/gcc/x86_64-linux-gnu/4.4/include/objc 
 +</code>
 ====== tips ====== ====== tips ======
-  * GNUStep에서 NS로 시작하는 기본 객체들은 GNU Objective-c에서 NS가 빠진 이름으로 사용한다.+#import <Foundation/NSObject.h> 대치 법 
 +<code objc> 
 +#import <objc/Object.h> 
 + 
 +@compatibility_alias NSObject Object; 
 +</code>
  
 ====== references ====== ====== references ======
   * [[http://www.otierney.net/objective-c.html|Objective-C Beginner's Guide]]   * [[http://www.otierney.net/objective-c.html|Objective-C Beginner's Guide]]
   * [[http://gcc.gnu.org/onlinedocs/gcc-4.4.5/gcc/Objective_002dC.html#Objective_002dC|gcc4.4.5 object-c runtime feature]]   * [[http://gcc.gnu.org/onlinedocs/gcc-4.4.5/gcc/Objective_002dC.html#Objective_002dC|gcc4.4.5 object-c runtime feature]]
object-c.1293778850.txt.gz · Last modified: 2013/08/03 05:04 (external edit)