2 ms·
I am really intrigued by the obj-c interop capability of swift, namely interactions between blocks and closures / anonymous functions. I can see my AFNetworkin
by QuadDamaged 12y ago
I am really intrigued by the obj-c interop capability of swift, namely interactions between blocks and closures / anonymous functions.
I can see my AFNetworking code becoming much, much more readable now, without the need to @weakify/@strongify self on both sides of the block, but just add a blanket
'[unowned self] in' inside the closure.