Re: Making Columns like in NSTableView
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.