Latest 1.0.2
Homepage https://github.com/stockx/Tally
License MIT
Platforms ios 8.0
Authors

Tally
Version
Platform
License

Description

Tally is used to check how many times the user has opened the application using a
simple if statement. This adds a lot of flexability on when you want something to happen.
Want to fire off an alert after the 15th opening? Easy.

Contents

  1. Installation
  2. Supported OS & SDK versions
  3. Usage
  4. License
  5. Contact

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

CocoaPods 0.36 adds supports for Swift and embedded frameworks. You can install it with the following command:

$ gem install cocoapods

To integrate Tally into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'Tally'

Then, run the following command:

$ pod install

Manually

If you prefer not to use CocoaPods, you can integrate Tally into your project manually.

Supported OS & SDK Versions

  • Supported build target – iOS 8.0+

Usage

Using tally is very simple.

First: import the pod

import Tally

Second: add the following snippet to application(_:didFinishLaunchingWithOptions:) in your AppDelegate

Tally.didOpenApplication()

Third: When you want to check for a certain threshold of app launches, use

if Tally.hasOpenedApp(numberOfTimes: 3) {
    // Do anything your heart desires
}

License

Tally is developed by Laurent Shala at StockX and is released under the MIT license. See the LICENSE file for details.

Contact

Feel free to follow me on my personal Twitter account. If you find any problems with the project or have ideas to enhance it, feel free to open a GitHub issue and/or create a pull request.

Latest podspec

{
    "name": "Tally",
    "version": "1.0.2",
    "summary": "Tally is a simple framework that checks how many times the user has opened the application",
    "homepage": "https://github.com/stockx/Tally",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Laurent Shala": "[email protected]"
    },
    "social_media_url": "https://twitter.com/laurentshala",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/stockx/Tally.git",
        "tag": "1.0.2"
    },
    "source_files": "Tally/Classes/**/*",
    "description": "Tally is used to check how many times the user has opened the application using ansimple `if` statement. This adds a lot of flexability on when you want something to happen.nWant to fire off an alert after the 15th opening? Easy.",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This