Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Strategy to split up large class files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strategy to split up large class files?



On 30. Jun 2004, at 14:29, Arthur Clemens wrote:

The problem I have is that each part has some relation to the interface. If I separate the registration part to a category, the IBAction methods are not accessible in Interface Builder (or should I leave the declarations in the AppController.h? - this seems to get messy).

I didn't catch the start of this thread, so I do not know what you are doing, but you can either use the First Responder-proxy as target for your actions (the action message is then sent to the first object in the responder chain which responds to it), you can instantiate other objects in the MainMenu.nib (perhaps singletons, similar to how IB currently has a Shared User Defaults, Font Manager etc. to which you can bind) and you can split your Nib into several Nibs -- e.g. a preferences window could be pretty self contained.
_______________________________________________
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: 
 >Strategy to split up large class files? (From: Arthur Clemens <email@hidden>)
 >Re: Strategy to split up large class files? (From: Andreas Mayer <email@hidden>)
 >Re: Strategy to split up large class files? (From: Arthur Clemens <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.