• 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: A quick memory (release) question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A quick memory (release) question


  • Subject: Re: A quick memory (release) question
  • From: John Buckley <email@hidden>
  • Date: Tue, 31 Jan 2006 09:26:25 +0000

On 31/01/06, Paul Harvey <email@hidden> wrote:
>
> Is there anywhere that information like this is available? In the
> Xcode built-in apple documentation, you get a brief description of
> the method but no mention of whether it's autoreleased or not. I
> guess there's no magic list somewhere that can be looked up for this
> kind of info?!

Here is Apple's Objective-C memory management doc:

http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/index.html

There are good books to e.g. http://www.oreilly.com/catalog/objectcpr/

In general you can guarantee that any alloc/init will require you to
release the object yourself. Any +objectWithArgs class method will
return an autoreleased object.

Regards,

John

--
------------------------
Dr. John Buckley
email@hidden

Mac OS X Tiger
------------------------
 _______________________________________________
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: 
 >A quick memory (release) question (From: Paul Harvey <email@hidden>)
 >Re: A quick memory (release) question (From: John Buckley <email@hidden>)

  • Prev by Date: Re: A quick memory (release) question
  • Next by Date: Geometric shapes with Ink Services
  • Previous by thread: Re: A quick memory (release) question
  • Next by thread: Re: A quick memory (release) question
  • Index(es):
    • Date
    • Thread