• 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: Quincey Morris <email@hidden>
  • Date: Mon, 5 Oct 2009 10:14:41 -0700

On Oct 5, 2009, at 09:47, David Hirsch wrote:

(More info: I have my ArrayController in IB bound to an array (phases) of File's Owner (which is my NSDocument subclass). In the document's init method, I make phases an empty NSMutableArray, and in the document's windowControllerDidLoadNib method, I populate that array with data.)

No one can tell you the answer for sure without seeing code, but the likelihood is high that you're not populating the array KVO compliantly. Thus, the array is empty when the table's bindings are established, and there's no KVO notification ever sent to tell it otherwise, until you do something like click on a column header.



_______________________________________________

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

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