Instance Method インスタンスメソッド

commitEditing

Returns whether the receiver was able to commit any pending edits.

Declaration 宣言

- (BOOL)commitEditing;

Return Value 戻り値

YES if the changes were successfully applied to the model, NO otherwise.

Discussion 解説

A commit is denied if the receiver fails to apply the changes to the model object, perhaps due to a validation error.

See Also 参照

Managing Editing