Copy this bookmark:



description:


tags:



bookmark detail

Swifty Configuration for iOS
For the last several months I've had the opportunity to jump head first into Swift development for iOS. Something I immediately noticed was how cumbersome it felt to configure an application for multiple environments. Some solutions I found required including different .plist files based on environment you were deploying to. This required that you duplicate configuration if a property was different in only 1 environment (ie analytics). Another form of configuration was conditional compilation, I didn't really like this either as it was more restrictive than objective c's conditional compilation. I have quite a bit of experience with Java Spring webapps and have come to admire Java configuration as a convenient way to contain configuration. So armed with this I attempted the same in Swift.
Apple_Swift  Swift  SwiftLang 
february 2016 by GameGamer43
view in context