Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 263 Bytes

File metadata and controls

15 lines (9 loc) · 263 Bytes

pulse

utility class to invoke selector on instance at intervals and prevent NSTimer retain cycles

Usage

Start the pulse

[Pulse pulse:self every:1 withSelector:@selector(updateNetworkIndicator)];

Stop the pulse

[Pulse stopPulsing:self];