mirror of
https://github.com/lil-org/tokenary.git
synced 2024-11-30 03:04:17 +03:00
20 lines
432 B
Swift
20 lines
432 B
Swift
// Copyright © 2021 Tokenary. 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 ?? ""
|
|
}
|
|
|
|
}
|