Post

Replies

Boosts

Views

Activity

Reply to @Attribute 'unique' and complex keys
Now you can declare unique constraints as part of the model definition. Like so: @Model final class Book { #Unique<Person>([\.title], [\.author]) var title: String var author: String init(title: String, author: String) { self.title = title self.author = author } }
Replies
Boosts
Views
Activity
Sep ’25
Reply to LazyVGrid in ScrollView stops app whenever scroll and get images from url...
I have the same issue, now. I think the problem stay in laziness of the view... if I use VStack it works, but not with LazyVStack or LazyVGrid. I think for now I'll solved this with nested VStack and HStack...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’21