Yes, the setter you've posted is KVC/KVO compliant.
That said, why do you have to define both? Is it because the @property
declaration specifies atomic
? Assuming that's the case, you should switch to nonatomic. You could make your own accessors atomic, but that's a significant amount of extra work, and unless you have a good, well understood reason for using an atomic
property, you probably don't need to.