• 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: Should I retain/release IBOutlet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should I retain/release IBOutlet?


  • Subject: Re: Should I retain/release IBOutlet?
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 13 May 2006 17:16:42 -0700


On May 13, 2006, at 2:47 PM, Eric wrote:

In most of the code I've seen (and wrote), I don't ever retain nor release
IBOutlet ivars. I just assume they will be allocated and deallocated with
the object itself along with the nib that contains them. Is there any
situation where I would want to manually retain / release IBOutlet within my
class? For example, if some other object (outside of the NIB) retains the
object containing the IBOutlet.

This is covered in the documentation:

<http://developer.apple.com/documentation/Cocoa/Conceptual/ LoadingResources/Concepts/NibFileLoaded.html#//apple_ref/doc/uid/ 20000884>

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Should I retain/release IBOutlet? (From: Eric <email@hidden>)

  • Prev by Date: Re: Undefined symbols error in deployment build
  • Next by Date: Re: Should I retain/release IBOutlet?
  • Previous by thread: Should I retain/release IBOutlet?
  • Next by thread: Re: Should I retain/release IBOutlet?
  • Index(es):
    • Date
    • Thread