I have one project that outputs two binaries - one for the App Store (an
app) and one for my own website version (a prefpane).

All the classes are the same except for two:

MyPrefPaneDelegate

MyAppDelegate

These are each in their respective apps.

How can I build my shared classes so I can do:

#ifdef RETAIL
IBOutlet   MyPrefPaneDelegate   delegate
#endif

#ifdef APPSTORE
IBOutlet   MyAppDelegate        delegate
#endif


It obviously compiles ok. But I have two nibs... One for the AppStore and
one for the Retail version. My CommonClass is instantiated in both nibs, but
in one case I need an outlet to point to a MyPrefPaneDelegate and in the
other it needs to point to a MyAppDelegate

Ideas?

Thanks.


_______________________________________________

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 arch...@mail-archive.com

Reply via email to