init(condition:)
Initializes a newly allocated NSConditionLock object and sets its condition.
Declaration
init(condition: Int)Parameters
- condition:
The user-defined condition for the lock. The value of
conditionis user-defined; see the class description for more information.
Return Value
An initialized condition lock object; may be different than the original receiver.
See Also
Related Documentation
- Threading Programming Guide