FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSTimer.h
Go to the documentation of this file.
1 //
2 // NSTimer.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 10. 10. 5..
6 // Copyright 2010 youknowone.org All rights reserved.
7 //
8 
15 #import <Foundation/Foundation.h>
16 
22 
27 - (void)schedule;
34 - (void)scheduleWithRunLoop:(NSRunLoop *)runLoop mode:(NSString *)mode;
35 
36 @end
37 
38 
39 #if NS_BLOCKS_AVAILABLE
40 typedef void (^NSATimerBlock)();
47 
53 + (void)dispatchTimerWithTimeInterval:(NSTimeInterval)ti block:(NSATimerBlock)block;
54 
55 @end
56 #endif
57 
58 
63 
64 + (NSTimer *)zeroDelayedTimerWithTarget:(id)aTarget selector:(SEL)aSelector;
65 + (NSTimer *)zeroDelayedTimerWithTarget:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo;
66 + (NSTimer *)delayedTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector;
67 
68 @end
NSTimer extension for NSRunLoop shortcuts.
Definition: NSTimer.h:21
void(^ NSATimerBlock)()
Definition: NSTimer.h:40
[dispatch][0] Shortcuts, not really NSTimer-related implementation.
Definition: NSTimer.h:46
void schedule()
Add timer to current run loop with default run loop mode.
NSTimer shortcuts - deprecated candidates.
Definition: NSTimer.h:62