• 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: NSTableView: no display until header clicked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView: no display until header clicked


  • Subject: Re: NSTableView: no display until header clicked
  • From: Stamenkovic Florijan <email@hidden>
  • Date: Mon, 05 Oct 2009 13:15:52 -0400

On Oct 05, 2009, at 13:08, Volker in Lists wrote:

so you seemed to have populated the array controller in a non KVO way... but still, w/o code not to be discussed.

I think that is the problem. If you bind the content of an NSArrayController to someObject.variable, then the controller will be notified of a change in it's content only if you assign a different object (NSArray) to the variable, but NOT if you manipulate the contents of the array. Instead, you need to manipulate the contents of the variable via the controller. So, instead of populating the mutable array directly in your windowControllerDidLoadNib method, try populating it via the controller.


HTH,
F
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >NSTableView: no display until header clicked (From: David Hirsch <email@hidden>)
 >Re: NSTableView: no display until header clicked (From: Volker in Lists <email@hidden>)
 >Re: NSTableView: no display until header clicked (From: David Hirsch <email@hidden>)
 >Re: NSTableView: no display until header clicked (From: Volker in Lists <email@hidden>)

  • Prev by Date: Re: NSTableView: no display until header clicked
  • Next by Date: [Solved] Re: NSTableView: no display until header clicked
  • Previous by thread: Re: NSTableView: no display until header clicked
  • Next by thread: [Solved] Re: NSTableView: no display until header clicked
  • Index(es):
    • Date
    • Thread