Closures and [weak self]
In closures, if you call a reference to self, you should use [weak self]. This ensures the memory is deallocated, as only a weak reference to that object is kept.
If you don't use [weak self], a strong reference is the default, and when that closure...
coderlyn.hashnode.dev