3 ms·
deinit, and if they’re from NotificationCenter you haven’t had to do that for a while and for KVO if you’re using the block syntax (you should!) you basically h
by saagarjha 6y ago
deinit, and if they’re from NotificationCenter you haven’t had to do that for a while and for KVO if you’re using the block syntax (you should!) you basically have an RAII “observation” that you control the lifetime of (often you assign it as a property of the object being observed, so it automatically gets cleaned up when the object goes out of scope).
- ChrisMarshallNY 6y agoYou're right (shows how often I use it, and I write Swift every day). Apple is amping up KVO, in general, which I like.