Object did not call willChange

From EOFWiki
Jump to: navigation, search

If you do not call willChange ahead of any change to an object, that change will not get tracked. Technically, you need to call willChange for each NSRunLoop event cycle only. But it should be part of every accessor.

If you mistakenly call willChange after the change, your change will be eventually be tracked but the undo information will be inconsistent.

Personal tools