Instance Property

hasChanges

Returns whether this object or any of the objects it contains has uncommitted changes.

Declaration

@property(nonatomic, readonly) BOOL hasChanges;

Return Value

Returns YES if there are uncommitted changes; otherwise, NO.

See Also

Saving and Restoring State

- isNew

Returns whether this object has ever been saved.

- refresh

Merges changes to this object with the latest saved values.

- reset

Returns this object to its saved state.

- rollback

Rolls back the property values of this object to its original state when it was first fetched.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software