On Jul 2, 2008, at 12:26 PM, Alex Wait wrote:

if you have the @property statement, and you use the I think @synthesize (could be wrong about that) you don't need to write the functions yourself.


<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_3.html#//apple_ref/doc/uid/TP30001163-CH17-SW9 > ("Property Implementation Directives").
Then see also:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_3.html#//apple_ref/doc/uid/TP30001163-CH17-SW10 > ("Core Foundation").


Try taking out the @property statement.

This just doesn't make sense.
(a) Properties are orthogonal to KVC:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_5.html#//apple_ref/doc/uid/TP30001163-CH17-SW6 >. (b) Declaring properties is considered to be best practice precisely because they make the semantics of access clear -- there's no reason at all to remove the declaration.

Chris and Nathan have addressed the original question.

mmalc

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to