Type Alias

nw_object_t

The generic type for objects in the Network framework.

Declaration

typedef NSObject<OS_nw_object> *nw_object_t;

Discussion

Network.framework objects are reference-counted objects that can be used with Automatic Reference Counting (ARC) or directly retained and released.

The objects also conform to the description method of NSObject to be used for debugging.

See Also

Memory Management

nw_release

Releases a reference count on a Network.framework object.

nw_retain

Adds a reference count to a Network.framework object.