Re: Cocoa Bindings Question(s)
Re: Cocoa Bindings Question(s)
- Subject: Re: Cocoa Bindings Question(s)
- From: John Tsombakos <email@hidden>
- Date: Sat, 17 Jul 2004 00:02:03 -0400
I added a retain, but it makes no difference. The error that is
generated (2004-07-17 00:00:13.439 Bibliotecha[2155] ***
-[NSKeyValueSlowMutableArray insertObject:atIndex:]: value for key
booksList of object 0x344f50 is nil) when I click the Add button, comes
when
- (NSMutableArray *)booksList
{
return booksList;
}
is called, before anything is being set.
On Jul 16, 2004, at 11:55 PM, J Nozzi wrote:
>
>
You're not retaining 'newBooks'.
>
>
On Jul 16, 2004, at 11:39 PM, John Tsombakos wrote:
>
>
> - (void) setBooksList:(NSMutableArray *)newBooks
>
> {
>
> [booksList autorelease];
>
> booksList = newBooks;
>
> }
_______________________________________________
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.