Post

Replies

Boosts

Views

Activity

Reply to SwiftData using Predicate on an Array
if you use collections of value types, e.g. [String], SwiftData will save that directly inside a single property too. Right now it’s encoded as binary property list data, which means you can’t use the contents of your array in a predicate. More: https://www.hackingwithswift.com/quick-start/swiftdata/using-structs-and-enums-in-swiftdata-models
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24