Re: One nib and controller per tab ?
Re: One nib and controller per tab ?
- Subject: Re: One nib and controller per tab ?
- From: Scott Anguish <email@hidden>
- Date: Sun, 1 Aug 2004 02:35:59 -0400
if it's only the size of the source code file, consider breaking it up
into multiple files.
create a single header file
MyClass.h
declare the class there, and it's variables. then add a category for
each of the separate files, with all the declarations in that single
header.
it allows you to break it up into manageable chunks more easily.
On Jul 31, 2004, at 9:44 PM, Koen van der Drift wrote:
The main window of an app I work on has several tabs, but one
windowcontroller. Right now the amount of code in the windowcontroller
is starting to become large because of all the functionality in the
various tabs. So I thought about making a separate controller with its
own nib file for each tab. This makes the code for me more manageable,
and will only load the nib when a tab is actually used. Is this a
useful approach, and if so, how is this accomplished?
_______________________________________________
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.