전체 텍스트 결과:
- 코코아
- ======== The id type ======== <code objc> id anObject; </code> id 라는 키워드가 존재하고, 모든 오브젝트를 가리키는 대명사로 사용 ... == 선언부 – 헤더 ===== <code objc> @interface MyClassObject : NSObject { float floatValue; } - (void)calculateWith:(float)otherValue; + (void)addAllValue; @end </co... Value andWith:(float)anotherOne; // 이걸 사용할 때 [someObject calculateWith:0.2f andWith:0.5f]; </code> 파라미터에