Open Classswift 6.0.3Foundation
NSCondition
You’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
class NSConditionYou’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
class NSConditionimport Foundationclass NSObjectThe root class of most Foundation class hierarchies.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol NSLockingprotocol NSObjectProtocol : AnyObjectThe NSObjectProtocol groups methods that are fundamental to all Foundation objects.
protocol Sendableoverride init() var name: String?func broadcast() func lock() func signal() func unlock() func wait() func wait(until limit: Date) -> Bool func withLock<R>(_ body: () throws -> R) rethrows -> R