Re: sub classing NSTableView
Re: sub classing NSTableView
- Subject: Re: sub classing NSTableView
- From: Drew McCormack <email@hidden>
- Date: Sat, 28 Sep 2002 09:33:02 +0200
On Saturday, September 28, 2002, at 08:38 AM, Donald Hall wrote:
Okay, I've got my NSTableView nicely set up - columns and other
attributes just the way I want them, but now I realize I need to
subclass to add in drag and drop capability. Is there some way I can
change the class of my carefully laid out table in IB without having
to start from scratch? In other words, will I have to delete my table
and drag in a custom view, make it a subclass of NSTableView, and
redraw everything?
No. Just select the tableview and open the inspector for it. Select the
"Custom Class" tab, and select you subclass. You will need to drag the
subclass header to IB first though.
Drew
Thanks,
Don
----------------------------------------------
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
_______________________________________________
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.
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ...
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Trading simulation software for Mac OS X
_______________________________________________
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.