Altering ManagedObjects In NSArray
- by Garry
I have an entity called 'Job' with two boolean attributes named 'completed' and 'logged'.
I am trying to retrieve all completed jobs that have not been logged at app start-up and change them to logged. I'm able to get all the completed but unlogged jobs with this fetchRequest:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(completed…