This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10794954-beginning-core-data/lessons/13
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10794954-beginning-core-data/lessons/13
Your project files won’t build. Also, your project files don’t even match your video.
Were you able to resolve this problem? I just checked and they match on my end
I wrote the fetchRequest code like this:
var reminders: FetchResults<Reminder> {
Reminder.fetchRequestSortedByTitleAndPriority().wrappedValue
}
But it doesn’t work, unless I change back to:
let fetchRequest = Reminder.fetchRequestSortedByTitleAndPriority()
var reminders: FetchedResults<Reminder> {
return fetchRequest.wrappedValue
}
I wonder why.