Loads the object referenced by a weak pointer and returns it.
- iOS 5.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
The address of the weak pointer.
The object pointed to by
This function loads the object referenced by a weak pointer and returns it after retaining and autoreleasing the object. As a result, the object stays alive long enough for the caller to use it. This function is typically used anywhere a
__weak variable is used in an expression.