Skip to content

A useful category of NSTimer.

License

Notifications You must be signed in to change notification settings

objbee/ZYYTimerAdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

ZYYTimerAdd

Pod VersionPod LicensePod PlatformCarthage compatible

NSTimer with block callback.

Installation

From CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like ZYYTimerAdd in your projects. First, add the following line to your Podfile:

pod 'ZYYTimerAdd' 

If you want to use the latest features of ZYYTimerAdd use normal external source dependencies.

pod 'ZYYTimerAdd', :git => 'https://github.com/idevzhou/ZYYTimerAdd.git' 

Manually

Drag the ZYYTimerAdd/ZYYTimerAdd/ZYYTimerAdd folder into your project.

Usage

+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti repeats:(BOOL)yesOrNo callback:(ZYYVoidBlock)callback; + (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti count:(NSInteger)count callback:(ZYYVoidBlock)callback; - (void)fireTimer; - (void)unfireTimer; - (void)invalid; 

About

NSTimer+ZYYTimerAdd

About

A useful category of NSTimer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published