You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the SwiftUI example from the README and initializing the database via @StateObject var database = try! Blackbird.Database.inMemoryDatabase(), I get an error message in Xcode stating the following:
Generic struct 'StateObject' requires that 'Blackbird.Database' conform to 'ObservableObject'
Any ideas? I assume I'm just missing something obvious here, but would love some insight! This is using Xcode 15, for what it's worth.
Really happy with how this is designed and would love to use it if I can get past the initialization hurdle. More than happy to provide whatever info you need, but hopefully I'm just doing something dumb.
The text was updated successfully, but these errors were encountered:
When following the SwiftUI example from the README and initializing the database via
@StateObject var database = try! Blackbird.Database.inMemoryDatabase()
, I get an error message in Xcode stating the following:Any ideas? I assume I'm just missing something obvious here, but would love some insight! This is using Xcode 15, for what it's worth.
Really happy with how this is designed and would love to use it if I can get past the initialization hurdle. More than happy to provide whatever info you need, but hopefully I'm just doing something dumb.
The text was updated successfully, but these errors were encountered: