Top "Weak" questions

What exactly does '__weak typeof(self)weakSelf = self;' mean

This is used in the weakify pattern of Objective-C My guess is that it means: assign a weak reference to …

objective-c typeof weak
how to make a weak pointer to self in swift outside of a block

i want to make a weak pointer to self in swift like how we used to in objective-c like __weak …

swift closures block weak
iOS ARC - weak and strong properties

I'm trying to understand the way ARC works, and as far as I know, I should be doing something wrong …

iphone automatic-ref-counting retain weak
Using as a concrete type conforming to protocol AnyObject is not supported

I'm using Swift 2 and using WeakContainer as a way to store a set of weak objects, much like NSHashTable.weakObjectsHashTable() …

swift reference hashtable protocols weak
Swift dictionary with weak reference keys?

Let's say I have a some objects representing network connections. Once these connections are disconnected, the associated objects disappear. I …

swift dictionary weak