On Jan 21, 2009, at 11:25 AM, Adam Venturella <[email protected]> wrote:

I have seen this same behavior too, creating @properties for IBOutlets
on the iPhone.  I have yet to run into a problem not
@property/@synthsizeing my Outlets on the iPhone, everything seems to
work just fine if you don't.  So am I missing something?  And am I
correct in assuming you would then be responsible for [myOutlet
release] in the dealloc?










My understanding is that declaring IBOotlets as properties is the recommended way of doing things. If you look in template code, you'll see that the outlets are released. This is to balance the retains sent during nib loading.

So really, it helps clarify the memory management of GUI elements.

Dave

Sent from my iPod. _______________________________________________

Cocoa-dev mailing list ([email protected])

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