Re: Confused about bindings and NSTableView
Re: Confused about bindings and NSTableView
- Subject: Re: Confused about bindings and NSTableView
- From: Juan Pablo Pertierra <email@hidden>
- Date: Wed, 8 Dec 2004 11:53:14 -0500
It seems, though, that you should not be binding to an NSMutableArray,
but rather an NSArrayController.
I didn't explain it correctly in my email, but yes I did bind it to an
NSArrayController. I did it exactly like it is done in the
"fiendishthngs" Apple example, and I double checked it with the
cocoadevcentral article you posted. The bindings are there, but I
can't add to the table directly by doing [array addObject:object]
because it won't update the table automatically. And if I add the
insertObect... and removeObject.... methods then it works but I get the
error "Illegal NSTableView data source.....".
Thanks for your reply,
Juan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden