On Jun 17, 2008, at 9:30 AM, Matthew Youney wrote:

This certainly can be easily done using a tab control. The downside is that the entire NIB is loaded at once, adversely affecting performance/ resources. This is not the end of the world, however I am starting with a "clean slate"
here, and I want to design the best app possible, as well as learn and
implement Cocoa's best practices early on.


You can load views into tabs from multiple NIBs as needed - under 10.5 using NSViewController (or some manual grunt work under 10.4).

Basically just have a "place holder view" that is in the tab view, and set up the tab views delegate to replace the place holder view with the "real" contents when that tab is about to be shown.

I've done this in the past (not so much due to the performance issues of NIB loading, but rather due to the pain of editing deeply nested views within tab views that manifests in various ways in different versions of IB)



Glenn Andreas                      [EMAIL PROTECTED]
 <http://www.gandreas.com/> wicked fun!
JSKit | the easy way to unite JavaScript and Objective C



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to