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

Should I retain/release IBOutlet?


  • Subject: Should I retain/release IBOutlet?
  • From: Eric <email@hidden>
  • Date: Sat, 13 May 2006 14:47:20 -0700

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.

thanks,
eric
_______________________________________________
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


  • Follow-Ups:
    • Re: Should I retain/release IBOutlet?
      • From: Lon Giese <email@hidden>
    • Re: Should I retain/release IBOutlet?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Using NSImages as keys to a dictionary
  • Next by Date: Why would NSTreeController ignores remove:?
  • Previous by thread: Search Menu Template and Category States
  • Next by thread: Re: Should I retain/release IBOutlet?
  • Index(es):
    • Date
    • Thread