of options that can be passed into a target’s scheme to enable useful debugging behavior, but like a fast food secret menu, they’re obscure and widely unknown. MATTT THOMPSON, NSHIPSTER
Cocoa Injected on top of NSUserDefaults No need to store a value into NSUserDefaults to read it from args Anything stored in NSUserDefaults can be overridden Parsing in Cocoa
arguments overriding server endpoints Challenge: server environment stored as a nested Dictionary More than one endpoint to override (analytics for example) Launch arguments?
to -objectForKey:, except that it converts the returned value to an NSInteger. If the value is an NSNumber, the result of - integerValue will be returned. If the value is an NSString, it will be converted to NSInteger if possible. If the value is a boolean, it will be converted to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 will be returned. */ Gotchas
XML Tag Storage format CFString <string> UTF-8 encoded string CFNumber <real>, <integer> Decimal string CFBoolean <true/>, <false/> No data (tag only) CFDate <date> ISO 8601 formatted string CFData <data> Base64 encoded data CFArray <array> Can contain any number of child elements CFDictionary <dict> Alternating tags and plist element tags