Notification Gotchas
Notice that
selfis explicitly referenced inside of the block.selfcan also be referenced implicitly by accessing an instance variable. By default, blocks capture variables read-only, and objects are retained. Thereforeselfis retained, and we’re in a retain cycle situation.
That API was simpler with garbage collection.