let enable_example = Bundle.main.object(forInfoDictionaryKey: "EnableExample") as? String
if enable_example != nil && enable_example == "YES" {
let example _collection =ExampleCollection()
if example _collection == nil {
self.showAlert(label:"There was a problem configuring the application.", message: "Unable to initialize Example collection.")
} else {
self.collections.append(example _collection!)
}
}
This is not sustainable: