Latest 3.0.2
Homepage https://github.com/wxxsw/POP-SnapKit
License MIT
Platforms ios 8.0, requires ARC
Dependencies pop, SnapKit
Authors

POP-SnapKit

Use SnapKit with the Facebook Pop animation framework. Inspired from MSSPopMasonry

POP+SnapKit

Installation

Embedded frameworks require a minimum deployment target of iOS 8.

To use POP-SnapKit with a project targeting iOS 7, you must to drag POP+SnapKit.swift to your iOS Project.

CocoaPods:

In your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod "POP+SnapKit"

And in your *.swift:

import POP_SnapKit

Use

circle.snp.makeConstraints { make in
    self.radiusConstaint = make.width.equalTo(self.radius * 2).constraint
}

let spring = POPSpringAnimation(propertyNamed: kPOPLayoutConstraintConstant)
spring.toValue = newValue * 2
self.radiusConstaint?.layoutConstraint?.pop_add(spring, forKey: "someKey")

Dependencies

  • pop (1.0.9) – An extensible iOS and OS X animation library, useful for physics-based interactions.
  • SnapKit (3.0.2) – A Swift Autolayout DSL for iOS & OS X

Latest podspec

{
    "name": "POP+SnapKit",
    "version": "3.0.2",
    "summary": "Use SnapKit with the Facebook Pop animation framework.",
    "homepage": "https://github.com/wxxsw/POP-SnapKit",
    "license": "MIT",
    "authors": {
        "GeSen": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/wxxsw/POP-SnapKit.git",
        "tag": "3.0.2"
    },
    "source_files": "Source/**/*",
    "requires_arc": true,
    "dependencies": {
        "pop": [
            "~> 1.0.9"
        ],
        "SnapKit": [
            "~> 3.0.2"
        ]
    },
    "pushed_with_swift_version": "3.0.2"
}

Pin It on Pinterest

Share This