Latest 0.3.0
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, QuartzCore



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.


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


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

pod "JTSTweener"


Joshua Sullivan, [email protected]


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": "",
    "license": "MIT",
    "authors": {
        "Joshua Sullivan": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.3.0"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "JTSTweener": [
    "frameworks": [

Pin It on Pinterest

Share This