Platformsios 8.0

Seek makes it easy to animate UIView’s and constraints based on percentage values. Animations are defined with a from value and a to value and can then be animated to any position between those values by providing a float between 0 and 1.

Seek currently supports from and to values for alpha, transforms (translate, rotate, scale), and constraint constants.


  • iOS 8.0+
  • Xcode 9.0+
  • Swift 4+


source ''
platform :ios, '8.0'

target '<Your Target Name>' do
    pod 'Seek', '3.0.0'

How to use

In this example Seek will animate a view’s alpha and translate the view.

let seek: Seek = Seek()

seek.view = myView
seek.duration = 0.3 = 0 = 1 = Seek.getTransform(x: 0, y: 0) = Seek.getTransform(x: 80, y: 80) 1)

You can also use Seek’s class methods to animate views.

Seek.view(view: myView, duration: 0.3, properties: SeekProperties(fromAlpha: 0, toAlpha: 1))

Seek.constraint(constraint: myConstraint, constraintLayoutView: layoutView, duration: 0.3, properties: SeekProperties(fromConstraintConstant: 0, toConstraintConstant: 50))

Use the SeekProperties class to define your from values and to values for a Seek animation.

Use the Seek class to animate your UIView’s and constraints. Seek uses UIView.animation to run the animations.

Latest podspec

    "name": "Seek",
    "platforms": {
        "ios": "8.0"
    "version": "3.0.0",
    "license": "MIT",
    "homepage": "",
    "authors": {
        "levieggert": "[email protected]"
    "summary": "A simple UIView animation framework.",
    "description": "This framework makes it easy to animate UIView's based on percentage values.  For example, an animation is defined with a beginning and end values and then can be animated anywhere between those values by passing a float between 0 and 1.",
    "source": {
        "git": "",
        "tag": "3.0.0"
    "source_files": "Source/*.swift"

Pin It on Pinterest

Share This