Instance Method インスタンスメソッド

removePort:forMode:

Removes a port from the specified input mode of the run loop. あるポートを実行ループのこの指定された入力モードから取り除きます。

Declaration 宣言

- (void)removePort:(NSPort *)aPort 
           forMode:(NSRunLoopMode)mode;

Parameters パラメータ

aPort

The port to remove from the receiver. レシーバから取り除かれることになるポート。

mode

The mode from which to remove aPort. それからaPortを取り除くことになるモード。 You may specify a custom mode or use one of the modes listed in Run Loop Modes.

Discussion 議論

If you added the port to multiple input modes, you must remove it from each mode separately. あなたがポートを複数の入力モードに加えるならば、あなたはそれを各モードから別々に取り除かなければなりません。

See Also 参照

Managing Ports ポートを管理する