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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -