|
|
|
|
@ -99,6 +99,7 @@ class DataStore: ObservableObject { |
|
|
|
|
StoreCenter.main.loadApiCallCollection(type: TeamRegistration.self) |
|
|
|
|
StoreCenter.main.loadApiCallCollection(type: Match.self) |
|
|
|
|
StoreCenter.main.loadApiCallCollection(type: TeamScore.self) |
|
|
|
|
StoreCenter.main.loadApiCallCollection(type: DrawLog.self) |
|
|
|
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(collectionDidLoad), name: NSNotification.Name.CollectionDidLoad, object: nil) |
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(collectionDidUpdate), name: NSNotification.Name.CollectionDidChange, object: nil) |
|
|
|
|
|