NSTimer(GCKAdditions) Category Reference

A category on NSTimer that adds some useful enhancements. More...

#import <NSTimer+GCKAdditions.h>

Class Methods

(NSTimer *) + gck_scheduledTimerWithTimeInterval:weakTarget:selector:userInfo:repeats:
 Constructs an NSTimer with a weak target. More...
 

Detailed Description

A category on NSTimer that adds some useful enhancements.

Method Documentation

+ (NSTimer *) gck_scheduledTimerWithTimeInterval: (NSTimeInterval)  interval
weakTarget: (id)  target
selector: (SEL)  selector
userInfo: (id GCK_NULLABLE_TYPE)  userInfo
repeats: (BOOL)  repeats 

Constructs an NSTimer with a weak target.

Avoids a retain loop between the timer and its target. The timer will be automatically invalidated if the target has been released when the timer fires.


The documentation for this category was generated from the following file: