mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-23 03:32:13 -04:00
App BuildType Flag
This commit is contained in:
parent
439fa69a39
commit
288fb65a7e
@ -36,7 +36,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1517</string>
|
<string>1518</string>
|
||||||
<key>ITSAppUsesNonExemptEncryption</key>
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
@ -35,6 +35,18 @@ extension NSManagedObjectContext {
|
|||||||
|
|
||||||
// MARK: - UI
|
// MARK: - UI
|
||||||
|
|
||||||
|
enum BuildType {
|
||||||
|
case Alpha, Beta, Release
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UIApplication {
|
||||||
|
var buildType: BuildType {
|
||||||
|
get {
|
||||||
|
return .Alpha
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
extension UIStoryboard {
|
extension UIStoryboard {
|
||||||
class var library: UIStoryboard {get {return UIStoryboard(name: "Library", bundle: nil)}}
|
class var library: UIStoryboard {get {return UIStoryboard(name: "Library", bundle: nil)}}
|
||||||
class var main: UIStoryboard {get {return UIStoryboard(name: "Main", bundle: nil)}}
|
class var main: UIStoryboard {get {return UIStoryboard(name: "Main", bundle: nil)}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user