The key part is in the quote
All the receiver's managed objects are “forgotten”.
- (void)reset;
will give you a clean NSManagedObjectContext
with no objects in it and as the docs state any NSManagedObject
's you have around should be discarded as they are no longer valid.
- (void)rollback
will just restore the NSManagedObject
's to their persisted values
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…