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

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -