Re: cocoa newbie questions
Re: cocoa newbie questions
- Subject: Re: cocoa newbie questions
- From: Finlay Dobbie <email@hidden>
- Date: Mon, 5 Nov 2001 21:24:34 +0000
On Monday, November 5, 2001, at 09:01 pm, Joe Muscara wrote:
myArray = [NSArray arrayWithArray:someArray]; // myArray will be
autoreleased unless you add any retains.
That's misleading. myArray will be autoreleased even if you retain it,
it just won't be deallocated from memory unless you release it manually.
-- Finlay