Latest 0.3.0
Homepage https://github.com/JoshuaSullivan/JTSTweenerPod
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, QuartzCore
Authors

Version
License
Platform

Usage

JTSTweener is a simple numeric tweening class allowing block-based animation of properties not supported by UIView or CAAnimation.

The options dictionary currently supports the following options (keys are defined in the class header):

  • delay – The time, in seconds for the tween to delay before it begins animating.
  • repeatCount – The number of times the animation repeats after the first playback is finished. Negative values cause the tween to repeat indefinitely.

CAUTION: Be aware that storing references to tweener objects that have progress and completion blocks referencing the creating classes is a stupendous way to create a retain cycle. You do not need to store a reference to the tweener object unless you need the ability to pause or cancel it outside of the progress block invocation. If you do store a reference to a tweener, be sure you’re only capturing weak references to self.

When a tweener is complete, it will automatically destroy its stored blocks. At this point, the tweener is useless and should be discarded.

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

This library has no dependencies on anything except Foundation and QuartzCore.

Installation

JTSTweener is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "JTSTweener"

Author

Joshua Sullivan, [email protected]

License

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

Latest podspec

{
    "name": "JTSTweener",
    "version": "0.3.0",
    "summary": "A block-based tweening engine inspired by Greensock's TweenLite.",
    "homepage": "https://github.com/JoshuaSullivan/JTSTweenerPod",
    "license": "MIT",
    "authors": {
        "Joshua Sullivan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JoshuaSullivan/JTSTweenerPod.git",
        "tag": "0.3.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "JTSTweener": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": [
        "UIKit",
        "QuartzCore"
    ]
}

Pin It on Pinterest

Share This