On May 21, 2009, at 5:43 PM, Morales Vivó Óscar wrote:

Good point. The problem I'm having is that I don't know when to call the "willChange…" method, only that sometimes I need to call the "didChange…" one.


It's pretty straight forward.

[blah willChange...];
the_change
[blah didChange...];


You shouldn't be calling willChange and then trigger 5 million lines of code and hope somewhere along the lines it calls didChange. And you shouldn't call didChange without calling willChange.


What's the confusing part about that?


--
Seth Willits



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to