Skip to content

Releases: Tricertops/Block-KVO

v3.0

02 Jan 13:29
Compare
Choose a tag to compare

Change behavior of oldValue for initial observations.

Any code that assumes the oldValue in initial observation is nil, must adjust for this change. The new way of detecting initial observation is comparing old and new value.

if (old == new) {
    // Initial observation immediatelly after registering
}
else {
    // Observation of relevant setter invocation
}

v2.4

02 Jan 13:30
Compare
Choose a tag to compare

Fixes several issues with automatic removal of observations on dealloc.