As Android and Java expert, recently I have came across a very nice iOS implementation for the observer pattern that exploits swift’s ARC to automatically “remove” the observer, this of course cannot be implemented in a JVM GC as unlike ARC, GC does not guarantee clearing weak references right on time. It was so good and simple […]