Deprecated NSConnection Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.6
Returns the default
NSConnection object for the current thread. (Deprecated in OS X v10.6. Create individual connection instances as needed instead.)
NSConnection object for the current thread, creating it if necessary.
The singleton method of
NSConnection has been deprecated. It was difficult to ensure that the shared connection wasn’t being used by other operations on the thread on which the default connection was requested. Using
[NSConnection new] ensures that you get a unique connection object, preventing such collisions.
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.6.