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

Re: setting table view rows and columns?


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

> Normally you just set up the column titles in IB. The titles are actually the tableColumn.headerCell.stringValue property, displayed in a NSTableHeaderView. If you are setting these programmatically, you should probably do tat as part of the table controller's setup, not every time the dataSource method is called (which is at least once per row).

I cannot figure out how to do this in IB..  I went into the View
Controller Scene, and found my table view, selected nested table cell
view for a column..  Double clicked on the cell, and typed the header
text...  but when I build my app, it's blank.

I am able to populate my table with data, I just can't seem to get a
header to show up.  Maybe I should just use labels above the table??


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>
References: 
 >setting table view rows and columns? (From: "Patrick J. Collins" <email@hidden>)
 >Re: setting table view rows and columns? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: setting table view rows and columns?
  • Next by Date: Re: setting table view rows and columns?
  • Previous by thread: Re: setting table view rows and columns?
  • Next by thread: Re: setting table view rows and columns?
  • Index(es):
    • Date
    • Thread