On Wed, May 14, 2008 at 6:37 PM, Mike Fischer <[EMAIL PROTECTED]> wrote:

> I remember in the very dim past (when MacApp was still a modern framework
> ;-) that I had text based resource files (.r) to build the 'View' resources
> (rough analog to nibs) which included preprocessor macros to control which
> parts/features where active. These would be compiled into .rsrc files using
> the current build settings. This mechanism was very flexible when it came to
> building different variants of an application. (I admit though that the
> source was hard to read and edit due to all of the conditional stuff.)
>
> Is there any way to achieve someting similar in our modern Cocoa/Xcode/IB
> world? How do others handle this problem?

You could use XIB files instead of NIB files, and write a script to
process them as a build step before they are compiled...

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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