Post

Replies

Boosts

Views

Activity

Reply to Dynamically changing fetch request
Have you already tried this way? if groupBy == 2 { cards.nsPredicate = nil let sortSetID = NSSortDescriptor(keyPath: \.setID, ascending: true) let sortName = NSSortDescriptor(keyPath: \.name, ascending: true) cards.sortDescriptors = [sortSetID, sortName] // This errors cards.sectionIdentifier = SectionedFetchResults<String, Card> // This errors }
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’23
Reply to Dynamically changing fetch request
Have you already tried this way? if groupBy == 2 { cards.nsPredicate = nil let sortSetID = NSSortDescriptor(keyPath: \.setID, ascending: true) let sortName = NSSortDescriptor(keyPath: \.name, ascending: true) cards.sortDescriptors = [sortSetID, sortName] // This errors cards.sectionIdentifier = SectionedFetchResults<String, Card> // This errors }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to The app references non-public selectors in payload/runner.app/runner: fontweight, relativesize, spanarray, spanarray_count, strikethrough, underline
Same for me. Reported to Apple, just in case give any clue...
Replies
Boosts
Views
Activity
Nov ’22