Re: Bindings: changing model changes some views but not others (NSTableColumn)
Re: Bindings: changing model changes some views but not others (NSTableColumn)
- Subject: Re: Bindings: changing model changes some views but not others (NSTableColumn)
- From: Scott Stevenson <email@hidden>
- Date: Thu, 30 Nov 2006 17:16:02 -0800
On Nov 30, 2006, at 9:49 AM, Sean McBride wrote:
And now I have the same problem as my app! That is, if I change a
model
object, the tableview does not update unless I resize the window or
click the tableview. It's as if tableview has simply forgot to
redraw.
Text fields update fine, but not table columns.
Shouldn't what I did work?
It's hard to say because we're only seeing little snippets of the
project and there are a lot of subtleties to the equation.
Is there some reason you need to create the NSArrayController
programmatically? The setup you have with a table column binding down
through MyDocument to reach an NSArrayController is a bit
unconventional. Why not just add it in IB?
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden