public class NSRunLoop extends NSObject
Modifier and Type | Method and Description |
---|---|
void |
addTimer(NSTimer timer,
String NSRunLoopMode)
Registers the specified timer with the specified loop mode.
|
static NSRunLoop |
mainRunLoop()
Returns the run loop of the main thread.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static NSRunLoop mainRunLoop()
public void addTimer(NSTimer timer, String NSRunLoopMode)
timer
- The timer to register.NSRunLoopMode
- The loop mode of the timer.NSRunLoopMode
Copyright © 2020. All rights reserved.