Re: Pref Panes and Instance Variables?
Re: Pref Panes and Instance Variables?
- Subject: Re: Pref Panes and Instance Variables?
- From: Calum Robinson <email@hidden>
- Date: Sun, 13 Jan 2002 15:53:52 +0000
On Sunday, January 13, 2002, at 06:14 am, cocoa-dev-
email@hidden wrote:
theAppList = [NSMutableArray array];
theAppList will be autoreleased (your object did not alloc it, the
NSMutableArray class did). You could either:
[theAppList retain];
or
theAppList = [[NSMutableArray alloc] init];