Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings: changing model changes some views but not others (NSTableColumn)




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Bindings: changing model changes some views but not others (NSTableColumn) (From: "Sean McBride" <email@hidden>)
 >Re: Bindings: changing model changes some views but not others (NSTableColumn) (From: Scott Stevenson <email@hidden>)
 >Re: Bindings: changing model changes some views but not others (NSTableColumn) (From: "Sean McBride" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.