Skip navigation.
 
mlRe: NSArray- help!
FROM : j o a r
DATE : Sat Nov 02 18:01:02 2002

It is not mentioned in the method, but it is documented in the more
general docs on memory management and the layout of the Cocoa
frameworks. Read one of the many memory management articles available
from Apple, or at <http://www.stepwise.com/>.

In brief, all classmethods that returns instances will return
autoreleased instances. Most often they are available in pairs, like
the one in your example:

+ arrayWithObjects:
- initWithObjects:

j o a r

On Saturday, Nov 2, 2002, at 17:56 Europe/Stockholm, Dave Sopchak wrote:

>     This is interesting. It doesn't appear to mention the autorelease
> property in the docs. How did you know this and should I be on the
> lookout for this sort of behavior in other things?

_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSArray- help! Dave Sopchak Nov 2, 17:37
mlRe: NSArray- help! j o a r Nov 2, 17:50
mlRe: NSArray- help! Dave Sopchak Nov 2, 17:56
mlRe: NSArray- help! j o a r Nov 2, 18:01