It\'s easy to set the build and version numbers manually in Xcode, and I learned how to increment them with a macro at build time. But how do I reference their values in cod
In Swift:
let version = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as? String