Latest 2.1.4
Homepage https://github.com/alexsteinerde/Spark-ImageView
License MIT
Platforms ios 8.0, requires ARC
Authors

CocoaPods
CocoaPods
Travis-CI

Favorite Animated View written in Swift

preview

Requirements

  • iOS 8.0+
  • Xcode 7.3

Installation

For manual instalation, drag Source folder into your project.

os use CocoaPod adding this line to you Podfile:

pod 'SparkImageView', '~> 2.1'

Usage

With storyboard or xib files

1) Create a UIImage that inherits from SparkImageView

2) Add Image for a Normal state

3) Set the IBOutlet delegate property to a subclass of FaveButtonDelegate

4) Optional manipulate porperties to change button settings

@IBInspectable public var dotFirstColor:   UIColor
@IBInspectable public var dotSecondColor:  UIColor
@IBInspectable public var circleFromColor: UIColor
@IBInspectable public var circleToColor:   UIColor

Credits

FaveButton was inspired by Twitter’s Like Heart Animation within their App

Licence

FaveButton is released under the MIT license.

Latest podspec

{
    "name": "SparkImageView",
    "version": "2.1.4",
    "summary": "SparkImageView is an iOS cute animated like ImageView written in Swift.",
    "license": "MIT",
    "homepage": "https://github.com/alexsteinerde/Spark-ImageView",
    "platforms": {
        "ios": "8.0"
    },
    "authors": {
        "Alex Steiner": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alexsteinerde/Spark-ImageView.git",
        "tag": "2.1.4"
    },
    "source_files": "Source/**/*.swift",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This