Search code examples
objective-ccore-datansmanagedobjectcontext

How to check NSManagedObjectContext unsaved?


How to check that NSManagedObjectContext unsaved?


Solution

  • [context hasChanges]
    

    returns a Boolean value that indicates whether the context has uncommitted changes.