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