• 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: Archiving NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Archiving NSTableViews (From: Glenn Zelniker <email@hidden>)

  • Prev by Date: MyODBC w/Cocoa?
  • Next by Date: Screen saver questions
  • Previous by thread: Re: Archiving NSTableViews
  • Next by thread: Re: Transparency? SOLVED
  • Index(es):
    • Date
    • Thread