• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing interface elements (iPhone vs Mac)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing interface elements (iPhone vs Mac)


  • Subject: Re: Accessing interface elements (iPhone vs Mac)
  • From: Dave DeLong <email@hidden>
  • Date: Wed, 21 Jan 2009 11:33:40 -0700

On Jan 21, 2009, at 11:25 AM, Adam Venturella <email@hidden> 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@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Accessing interface elements (iPhone vs Mac)
      • From: Adam Venturella <email@hidden>
References: 
 >Accessing interface elements (iPhone vs Mac) (From: Ashley Perrien <email@hidden>)
 >Re: Accessing interface elements (iPhone vs Mac) (From: Graham Cox <email@hidden>)
 >Re: Accessing interface elements (iPhone vs Mac) (From: Shawn Erickson <email@hidden>)
 >Re: Accessing interface elements (iPhone vs Mac) (From: Adam Venturella <email@hidden>)

  • Prev by Date: Re: NSURLConnection changing the URL
  • Next by Date: "Show In Menu Bar" Option?
  • Previous by thread: Re: Accessing interface elements (iPhone vs Mac)
  • Next by thread: Re: Accessing interface elements (iPhone vs Mac)
  • Index(es):
    • Date
    • Thread