• 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: further confusion regarding the release of controls loaded from a nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: further confusion regarding the release of controls loaded from a nib


  • Subject: Re: further confusion regarding the release of controls loaded from a nib
  • From: David Duncan <email@hidden>
  • Date: Tue, 20 Mar 2012 13:58:19 -0700

On Mar 20, 2012, at 1:49 PM, G S wrote:

> This just adds more confusion.  If the properties for the majority of
> IBOutlets are weak (since they're usually all going to be owned by the
> UIViewController's view), why would we release them in dealloc?

If you aren't using ARC, then you couldn't have declared them weak, and most likely declared them as retain. As such you are responsible for releasing them.
--
David Duncan

_______________________________________________

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

References: 
 >further confusion regarding the release of controls loaded from a nib (From: G S <email@hidden>)

  • Prev by Date: further confusion regarding the release of controls loaded from a nib
  • Next by Date: Re: further confusion regarding the release of controls loaded from a nib
  • Previous by thread: further confusion regarding the release of controls loaded from a nib
  • Next by thread: Re: further confusion regarding the release of controls loaded from a nib
  • Index(es):
    • Date
    • Thread