mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-14 22:45:54 +03:00
20 lines
437 B
Swift
20 lines
437 B
Swift
|
// Copyright © 2021 Encrypted Ink. All rights reserved.
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
extension Bundle {
|
||
|
|
||
|
var identifier: String {
|
||
|
return infoDictionary?["CFBundleIdentifier"] as? String ?? ""
|
||
|
}
|
||
|
|
||
|
var name: String {
|
||
|
return infoDictionary?["CFBundleName"] as? String ?? ""
|
||
|
}
|
||
|
|
||
|
var shortVersionString: String {
|
||
|
return infoDictionary?["CFBundleShortVersionString"] as? String ?? ""
|
||
|
}
|
||
|
|
||
|
}
|