Does setting a Core Data property to the same value trigger an update? -
is officially necessary check see if core data property set yes or no (for example) before setting same value (yes or no) again when enumerating ... in order avoid triggering update no reason?
or, smart enough avoid unnecessary updates?
instead of:
[object setisred:@(yes)];
is necessary do:
if (![[object isred] isequaltonumber:@(yes)]) { [object setisred:@(yes)]; }
just wondering!
Comments
Post a Comment