Type Property

current

Returns the NSAssertionHandler object associated with the current thread.

Declaration

class var current: NSAssertionHandler { get }

Return Value

The NSAssertionHandler object associated with the current thread.

Discussion

If no assertion handler is associated with the current thread, this method creates one and assigns it to the thread.