Re: Cocoa Bindings Question(s)
Re: Cocoa Bindings Question(s)
- Subject: Re: Cocoa Bindings Question(s)
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 16 Jul 2004 23:45:24 -0700
On Jul 16, 2004, at 11:01 PM, John Tsombakos wrote:
booksList = [[[NSMutableArray alloc] init] retain];
which I SWEAR I had done before... and it works still.
There is no need for the 'retain' -- you will leak the array.
Either:
booksList = [[NSMutableArray alloc] init];
or:
[self setBooksList:[NSMutableArray array]];
mmalc
_______________________________________________
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.