• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings: changing model changes some views but not others (NSTableColumn)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: Porno spam, from this mailing list
  • Next by Date: Re: Bindings between nib files (again)
  • Previous by thread: Re: Bindings: changing model changes some views but not others (NSTableColumn)
  • Next by thread: Chinese character handwriting recognition
  • Index(es):
    • Date
    • Thread