ObjectiveC:Property
lastmod 2026-11-10created 2014-03-063 edits
Objective-C의 프로퍼티(property)는 클래스의 인스턴스 변수에 대한 접근자(getter/setter) 메서드를 선언하고 자동 생성하는 언어 기능이다. @property로 선언하고 @synthesize로 접근자를 합성하거나 @dynamic으로 직접 구현을 약속한다. nonatomic, strong, weak, copy, readonly 같은 속성으로 스레드 안전성과 메모리 소유 방식, 읽기 전용 여부를 지정하며, 점(.) 표기법으로 접근할 수 있다.
See also
Favorite site
References
-
Objective-C_-_about_the_property.pdf ↩