Created
October 11, 2019 05:26
-
-
Save strzempa/80d5d08766c06a5068f6e228c91170b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public extension Bundle { | |
var releaseVersionNumber: String? { | |
return infoDictionary?["CFBundleShortVersionString"] as? String | |
} | |
var buildVersionNumber: String? { | |
return infoDictionary?["CFBundleVersion"] as? String | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment