On May 25, 2009, at 12:16 AM, Michael Ash wrote:
On Mon, May 25, 2009 at 12:51 AM, Chunk 1978 <chunk1...@gmail.com>
wrote:
is there a difference? which one should be used?
No difference. Use whatever makes you happy. IBOutlet is just a hint
to help Interface Builder parse your header. It literally does nothing
when the code is actually compiled: IBOutlet is #defined to nothing.
Apple's recommendation is to put the IBOutlet tag on the property
declaration:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmNibObjects.html#/
/apple_ref/doc/uid/TP40004998-SW1
Also, there can be a difference if the property name is different that
the ivar name.
Regards,
Ken
_______________________________________________
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 arch...@mail-archive.com