• 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: Populating TableView Via Button.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Populating TableView Via Button.


  • Subject: Re: Populating TableView Via Button.
  • From: Volker in Lists <email@hidden>
  • Date: Fri, 18 Sep 2009 20:04:21 +0200

Hi,

best solution would be to update the datasource...

Swapping views just for the sake of displaying new data is not something one should do. Have you read up on how to implement a datasource for NSTableView?

Maybe you try to follow this old, but still useful tutorial: http://www.cocoadev.com/index.pl?NSTableViewTutorial

Volker


Am 18.09.2009 um 16:44 schrieb Sean Kline:

Would an alternative implementation be to have the button click swap in a
view with a NSTableView bound to its data source?

_______________________________________________

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: 
 >Populating TableView Via Button. (From: Philip Juel Borges <email@hidden>)
 >Re: Populating TableView Via Button. (From: Sean Kline <email@hidden>)

  • Prev by Date: Re: If someone could inspect this code and explain to me what am I doing wrong ?
  • Next by Date: What is the life of the c string returned by NSString's UTF8String method?
  • Previous by thread: Re: Populating TableView Via Button.
  • Next by thread: If someone could inspect this code and explain to me what am I doing wrong ?
  • Index(es):
    • Date
    • Thread