Latest 0.1.3
License MIT
Platforms ios 8.0, requires ARC



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

Using GNTickerButton is very easy. Rotating the ticker is as easy as calling one function:

public func rotateTickerWithDuration(duration:CFTimeInterval, rotations repeatCount:Int = 1, rotationBlock: (Void -> Void)?)

The rotationBlock gets called everytime the ticker rotates completely. Keep in mind you can choose to pass nil into here and set yourself as the delegate of the GNTickerButton instead. For this, you’ll need to conform to GNTickerButtonRotationDelegate.

Note: As of right now, passing in a non-nil block takes precedence over the delegate. The delegate method is only called if no block was passed in.

The rest of the variables should be very self explanatory. Oh and take note that this is an @IBDesignable class with many @IBInspectable variables!


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

pod "GNTickerButton"


Please feel free to submit any and all pull requests, I know there’s more we can add to this button!


Gonzalo Nunez, [email protected]


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

Latest podspec

    "name": "GNTickerButton",
    "version": "0.1.3",
    "summary": "Inspired by the Layout app by Instagram, this is a UIButton subclass with a ticker that spins around as desired.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Gonzalo Nunez": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.3"
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "GNTickerButton": [

Pin It on Pinterest

Share This