• 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: NSMatrix Datasource?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix Datasource?


  • Subject: Re: NSMatrix Datasource?
  • From: Andrew Zamler-Carhart <email@hidden>
  • Date: Wed, 15 Dec 2004 13:06:02 +0000

Dear Mike,

Does NSMatrix have a datasource like NSTableViews? I can't figure out how to supply it with data other than setting cells individually.

I have a view in my app that can toggle back and forth between an NSTableView and an NSMatrix. As others have mentioned, I had to set all the data in the NSMatrix myself.


One really nice feature of NSTableView is that it only loads the data that it needs to display at any given point in time. In my NSMatrix subclass, I had to override -drawRect: and implement my own cell-loading queue to get this behavior.

Best regards,

Andrew
KavaSoft

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMatrix Datasource? (From: "Mike R. Manzano" <email@hidden>)

  • Prev by Date: Re: Xcode 1.5
  • Next by Date: NSBrowser problems
  • Previous by thread: Re: NSMatrix Datasource?
  • Next by thread: Re: NSMatrix Datasource?
  • Index(es):
    • Date
    • Thread