• 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: Making Columns like in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making Columns like in NSTableView


  • Subject: Re: Making Columns like in NSTableView
  • From: Andy Lee <email@hidden>
  • Date: Fri, 22 Mar 2002 16:16:01 -0500

At 3:32 PM -0500 3/22/02, Matt Thomas wrote:
I want to make a view that has a number of columns that behave similarly to the columns in NSTableView. The thing is, aside from the header in the column, I want the rest of the column just for drawing. No rows, no text boxes, just a view to draw in.

Why not use NSTableView itself (or a trivial subclass of it)? You can create a single-row table that happens to have very tall cells. Depending on your drawing needs, you might need to use a custom subclass of NSCell.

This would buy you all the tricks an NSTableView can perform without having to reinvent any wheels.

--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Making Columns like in NSTableView (From: Matt Thomas <email@hidden>)

  • Prev by Date: Re: NSPoint Documentation
  • Next by Date: Re: Making Columns like in NSTableView
  • Previous by thread: Making Columns like in NSTableView
  • Next by thread: Re: Making Columns like in NSTableView
  • Index(es):
    • Date
    • Thread