Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kimon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
kimon
13y ago
KVOController 1.0.0 supports observing arrays and other ordered relationships, just not values within. I filed https://github.com/facebook/KVOController/issues/5 to track. Features requests are welcome. Perfo
2.
▲
by
kimon
13y ago
Correct. Add a strong reference from observer to KVOController instance via a property or instance variable and you've achieved un-observation on observer dealloc :) This usage pattern is quite common. We'll look into calling this
3.
▲
by
kimon
13y ago
This was the principal motivation behind KVOController. Manually tracking registered observers is tedious and error prone. We hope you give KVOController a try, feedback from the community is welcome.
4.
▲
by
kimon
13y ago
This is a useful collection of links. One point of note, Facebook's solution doesn't rely on swizzling. Much like THObserversAndBinders, KVOController ties observation to the controller scope. We use a shared controller instance,
5.
▲
Facebook open-sources KVOController – simpler key-value observing for iOS
(github.com)
31 points
by
kimon
13y ago
|
14 comments
6.
▲
by
kimon
14y ago
each product team at Apple is different. some pay close attention to duplicate counts when prioritizing radars, others don't. if instead you wanted to read between the lines: please file a dupe (we have no idea when that will be fixed.) no