• 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
setting table view rows and columns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting table view rows and columns?


  • Subject: setting table view rows and columns?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Thu, 12 Mar 2015 20:10:54 -0700 (PDT)

Hi everyone,

I am a little confused with the documentation for NSTableViews...  I assume this is the method that one uses to set the "headers" of the table?

- (void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;

That's what I am looking to do, but I don't get how I specify how many columns there are in the table?

I have everything else in my table setup properly, I am just trying to figure out how to set the header/column names.

Thanks!


Patrick J. Collins
http://collinatorstudios.com

_______________________________________________

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


  • Follow-Ups:
    • Re: setting table view rows and columns?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Base.lproj vs en.lproj?
  • Next by Date: Re: setting table view rows and columns?
  • Previous by thread: Re: Base.lproj vs en.lproj?
  • Next by thread: Re: setting table view rows and columns?
  • Index(es):
    • Date
    • Thread