Latest 1.0.1
Homepage https://github.com/woxtu/NotPaid
License MIT
Platforms ios 8.0
Authors

Carthage compatible
CocoaPods

This is an iOS version of kleampa/not-paid.

Client did not pay?

Add opacity to views and decrease it every day until their app completely fades away. Set a due date and customize the number of days you offer them until the app is fully vanished.

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        let dateFormatter = DateFormatter()
        dateFormatter.dateFormat = "yyyy-MM-dd"
        let dueDate = dateFormatter.date(from: "2017-02-27")!

        NotPaid.configure(dueDate: dueDate, daysDeadline: 60)

        window?.backgroundColor = .white

        return true
    }
}

Installation

Carthage

github "woxtu/NotPaid"

CocoaPods

pod 'NotPaid'

License

Licensed under the MIT license.

Latest podspec

{
    "name": "NotPaid",
    "version": "1.0.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE-MIT"
    },
    "homepage": "https://github.com/woxtu/NotPaid",
    "authors": {
        "woxtu": "[email protected]"
    },
    "summary": "Add opacity to views and decrease it every day until their app completely fades away.",
    "source": {
        "git": "https://github.com/woxtu/NotPaid.git",
        "tag": "1.0.1"
    },
    "swift_versions": "5.0",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Sources/**/*.swift",
    "ios": {
        "frameworks": "UIKit"
    }
}

Pin It on Pinterest

Share This