Type Method 型メソッド

cancelPreviousPerformRequests(withTarget:)

Cancels perform requests previously registered with the perform(_:with:afterDelay:) instance method.

Declaration 宣言

class func cancelPreviousPerformRequests(withTarget aTarget: Any)

Parameters パラメータ

aTarget

The target for requests previously registered with the perform(_:with:afterDelay:) instance method.

Discussion 解説

All perform requests having the same target aTarget are canceled. This method removes perform requests only in the current run loop, not all run loops. このメソッドは、全ての実行ループではなく、現在の実行ループにおいてのみ実行要請を取り除きます。

See Also 参照

Sending Messages メッセージ送信