FROM : mmalc crawford
DATE : Sun Jan 06 20:19:10 2008
On Jan 6, 2008, at 9:57 AM, Jonathan Dann wrote:
> What I really wanted was the ability to declare the mutable array as
> a property as a I've really grown to like the 'dot syntax'
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_4.html
>
"Accessing a property property calls the get method associated with
the property (by default, property) and setting it calls the set
method associated with the property (by default, setProperty:). In
fact, as long as there is an appropriate getter and setter available,
you can use the dot-syntax invoke those methods even if you haven’t
declared a property (if you haven’t declared a property, the getter
and setter must be named property and setProperty: respectively)."
mmalc
DATE : Sun Jan 06 20:19:10 2008
On Jan 6, 2008, at 9:57 AM, Jonathan Dann wrote:
> What I really wanted was the ability to declare the mutable array as
> a property as a I've really grown to like the 'dot syntax'
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_4.html
>
"Accessing a property property calls the get method associated with
the property (by default, property) and setting it calls the set
method associated with the property (by default, setProperty:). In
fact, as long as there is an appropriate getter and setter available,
you can use the dot-syntax invoke those methods even if you haven’t
declared a property (if you haven’t declared a property, the getter
and setter must be named property and setProperty: respectively)."
mmalc






Cocoa mail archive

