티스토리 뷰
* 메소드 선언 (method declarations) : 내가 지원하는 기능이라고 선언
- (void) setFillColor: (ShapeColor) fillColor;
- (void) setBounds: (ShapeRect) bounds;
-----------------------------------------------
- (반환타입) 메소드 이름: (반환타입) 인수;
- 기호는 메소드를 선언한다는 의미.
'나름 프로그래밍? > Objective-C' 카테고리의 다른 글
self -> fillColor = fillColor; (0) | 2010.01.28 |
---|---|
@implementation - 실제 객체가 동작하는 코드 (0) | 2010.01.28 |
인스턴스 변수 선언 방법 (0) | 2010.01.28 |
@interface Circle : NSObject (0) | 2010.01.28 |
[shape draw] - shape에 draw '메세지' 를 보낸다 (0) | 2010.01.28 |