Re: Archiving NSTableViews
Re: Archiving NSTableViews
- Subject: Re: Archiving NSTableViews
- From: Allan Odgaard <email@hidden>
- Date: Wed, 21 Apr 2004 20:54:53 +0200
On 21. Apr 2004, at 18:57, Glenn Zelniker wrote:
[...] I was wondering if there's any way to suppress the extraction of
the table from the Nib file and "drop" the proper table into the
correct place in the GUI. [...]
While I do not understand what you want to do, and certainly not *why*
you want to do it that way, there might still be a solution.
In the Nib make the table view a CustomView instance and change the
subclass to e.g. MyTableViewStandin and then in code do something like:
@implementation MyTableViewStandin
- (id)initWithFrame:(NSRect)aFrame
{
[self release];
return theRealTableView;
}
@end
You would need to create the initial (default) table view in a separate
Nib, which you'd then return the first time.
But I consider this solution mostly proof-of-concept... :)
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
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.