The stack size of the receiver, in bytes.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
This value must be in bytes and a multiple of 4KB.
To change the stack size, you must set this property before starting your thread. Setting the stack size after the thread has started changes the attribute size (which is reflected by the
stack method), but it does not affect the actual number of pages set aside for the thread.