LKTaskCompletion 1.1.0

LKTaskCompletion 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2017

Maintained by Hiroshi Hashiguchi.



  • By
  • Hiroshi Hashiguchi

Task Completion Utility

Usage

  1. Setup

    #import "LKTaskCompletion.h"
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        [LKTaskCompletion.sharedInstance setup];
        :
    }
    
  2. When your task has finished

    Call endBackgroundTask method.

    [LKTaskCompletion.sharedInstance endBackgroundTask];
    
  3. Etc

    If you want to be disable background task, use enabled property.

    LKTaskCompletion.sharedInstance.enabled = NO;
    

Example

Count down in background.

Image

Installation

Author

Hiroshi Hashiguchi, [email protected]

License

The library is available under the MIT license. See the LICENSE file for more info.