Instance Property


The thread object's dictionary.


var threadDictionary: NSMutableDictionary { get }


You can use the returned dictionary to store thread-specific data. The thread dictionary is not used during any manipulations of the NSThread object—it is simply a place where you can store any interesting data. For example, Foundation uses it to store the thread’s default NSConnection and NSAssertionHandler instances. You may define your own keys for the dictionary.

See Also

Working with Thread Properties

var name: String?

The name of the receiver.

var stackSize: Int

The stack size of the receiver, in bytes.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software