Como atualizar o objeto existente no Core Data?

Quando eu insiro o novo objeto eu faço com o seguinte código:

<code>NSManagedObjectContext *context = [appDelegate managedObjectContext];

Favorits *favorits = [NSEntityDescription insertNewObjectForEntityForName:@"Favorits" inManagedObjectContext:context];

favorits.title = @"Some title";

NSError *error;                    
if (![context save:&error]) {
    NSLog(@"Whoops");
}
</code>

Como posso atualizar o objeto existente nos dados principais?

questionAnswers(4)

yourAnswerToTheQuestion