programmatically binding
programmatically binding
- Subject: programmatically binding
- From: email@hidden
- Date: Tue, 11 Jan 2005 10:43:57 -0500
I have an NSTbaleView that is binded with an NSArrayController for its
content. I have programmatically set up a binding from with my main
documents subclass for the "selectedObjects" key. Whenever a selec tion
occurs in my NSTableView, my method in my NSDocument is called with an
array of Objects. Within my selected objects, i have an NSArray of
NSTableColumn. I use those columns to fill in the columns of another
NSTableView. So from my selectedObjects method in my NSDocument
subclass, i call a method of my second MSTableView subclass to remove
all of it's columns then fill it in with my new columns of my
selectedObject. Removing all the columns goes fine, but then when i try
and add the new columns, i get a crash. Is it ok to fill in a
NSTbaleView's columns from this method? Is there anything i should be
doing special? The columns are valid but it just crashes... if i look
in the crash log, i see that the crash occurs in the NSTableView's
method [NSTableView tile].
Any help is appreciated,
thanks
Alex
_______________________________________________
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