Post

Replies

Boosts

Views

Activity

Reply to Error with Xcode 15 beta 5
You must provide the model type used for the root type of the key path, i.e. \ModelType.property instead of .property. Apple uses the following example in the Xcode 15 beta 5 release notes: @Query(sort: \Person.name) var people: [Person] In your case it would be something like, @Query(sort: \Person.id, order: .reverse) private var artList: [ArtInventory]
Jul ’23
Reply to Error with Xcode 15 beta 5
You must provide the model type used for the root type of the key path, i.e. \ModelType.property instead of .property. Apple uses the following example in the Xcode 15 beta 5 release notes: @Query(sort: \Person.name) var people: [Person] In your case it would be something like, @Query(sort: \Person.id, order: .reverse) private var artList: [ArtInventory]
Replies
Boosts
Views
Activity
Jul ’23
Reply to How to show value totals in BarMark Charts
Use the .annotation modifier; then, you can use a text view to show the y-values of the data points.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22