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

scheduleInRunLoop:forMode:

Schedules the receiver on a given run loop in a given mode. レシーバをある与えられた実行ループ上である与えられたモードにおいて予定します。

Declaration 宣言

- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop 
                  forMode:(NSRunLoopMode)mode;

Parameters パラメータ

aRunLoop

The run loop on which to schedule the receiver. それの上でレシーバを予定することになる実行ループ。

mode

The mode for the run loop. 実行ループに対するモード。

Discussion 議論

Unless the client is polling the stream, it is responsible for ensuring that the stream is scheduled on at least one run loop and that at least one of the run loops on which the stream is scheduled is being run. クライアントがストリームをポーリングしている場合を除いて、それは、ストリームが少なくとも1つの実行ループ上で予定されること、そしてそれの上でストリームが予定される実行ループの少なくとも1つが実行されていることを確実にする責任があります。

See Also 参照

Managing Run Loops 実行ループを管理する