Untitled

 avatar
unknown
plain_text
3 months ago
420 B
6
Indexable
    private let sharedContainer : ModelContainer = {
        
        let configuration = ModelConfiguration("FavoritePlayerSharedStore",
           schema: Schema([FootballPlayer.self]),
           groupContainer: .identifier("group.Abid.WidgetDemo")
                                               
        )
        
        return try! ModelContainer(for : FootballPlayer.self, configurations: configuration)
    }()
Editor is loading...
Leave a Comment