• 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: Proper retain/release etiquette
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper retain/release etiquette


  • Subject: Re: Proper retain/release etiquette
  • From: Hsu <email@hidden>
  • Date: Mon, 22 Jul 2002 20:32:30 -0700

On Monday, July 22, 2002, at 06:05 PM, Chris Anderson wrote:
3. If I got a new object from the system frameworks via any method but
'alloc', it will get implicitly autoreleased, so I have to retain it if I
want it to persist beyond the next RunLoop cycle.

copy methods also return retained objects, I believe.

Karl

--

One flew east,
One flew west,
One flew over the cuckoo's nest.

Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Proper retain/release etiquette (From: Chris Anderson <email@hidden>)

  • Prev by Date: Re: NSTableView Woes
  • Next by Date: Re: [Q] Removing TabView shadows ...
  • Previous by thread: Proper retain/release etiquette
  • Next by thread: Re: Proper retain/release etiquette
  • Index(es):
    • Date
    • Thread