On 10 Dec 2013, at 15:04, Appa Rao Mulpuri <appar...@ivycomptech.com> wrote: > We have a configuration file that defines a bunch of toggles for various > features you have pending. The running application then uses these toggles > in order to decide whether or not to show the new feature.
The solution is to do those other features on a branch until you're ready to ship, then merge them into a 'shipping' branch. Alternately, use a #define TRANSIENT_FEATURE_WHATEVER (DEBUG) and #if TRANSIENT_FEATURE_WHATEVER/#endif // TRANSIENT_FEATURE_WHATEVER to turn this stuff off for release builds and only have it in debug builds. Or if you really insist on shipping half-finished code to end users unnecessarily and just turning it off at runtime, use [NSUserDefaults boolForKey: @"MYTransientFeatureWhatever"], as that defaults to NO when it is not set. -- Uli Kusterer "The Witnesses of TeachText are everywhere..." _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com