-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new version of app in Settings (#108)
Co-authored-by: Alexandr Chernyy <[email protected]>
- Loading branch information
1 parent
90543ab
commit 07e9291
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// File.swift | ||
// | ||
// | ||
// Created by Alexandr Chernyy on 30.09.2021. | ||
// | ||
|
||
import Foundation | ||
|
||
extension Bundle { | ||
var releaseVersionNumber: String? { | ||
infoDictionary?["CFBundleShortVersionString"] as? String | ||
} | ||
var buildVersionNumber: String? { | ||
infoDictionary?["CFBundleVersion"] as? String | ||
} | ||
} |