Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One nib and controller per tab ?



Hi,

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?


thanks,

- Koen.
_______________________________________________
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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.