BuildSettings: Make it work from extensions

This commit is contained in:
manuroe
2020-07-30 11:35:50 +02:00
parent 67e34a691e
commit e95d537470
4 changed files with 47 additions and 3 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ import Foundation
final class BuildSettings: NSObject {
static var bundleDisplayName: String {
InfoPlist.cfBundleName
Bundle.app.object(forInfoDictionaryKey: "CFBundleDisplayName") as! String
}
static var applicationGroupIdentifier: String {
InfoPlist.applicationGroupIdentifier
Bundle.app.object(forInfoDictionaryKey: "applicationGroupIdentifier") as! String
}
static let aSampleTestToRemove = "This is a demo of how we will use this class. TODO: Remove it once we have some settings"