Skip to content

Commit

Permalink
Merge pull request #14 from MengTo/feature/cocoapods
Browse files Browse the repository at this point in the history
Add CocoaPods support
  • Loading branch information
jamztang committed Feb 2, 2015
2 parents f630fdf + e8fe34f commit 9ac47a4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
## Installation
Drop in the Spring folder to your Xcode project.

### OR via CocoaPods (pre-release)

```
pod 'Spring', '~> 1.0.0'
```

---

## Usage with Storyboard
In Identity Inspector, connect the UIView to SpringView Class and set the animation properties in Attribute Inspector.

Expand Down
12 changes: 12 additions & 0 deletions Spring.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Pod::Spec.new do |s|
s.name = 'Spring'
s.version = '1.0.0'
s.license = 'MIT'
s.summary = 'A library to simplify iOS animations in Swift.'
s.homepage = 'https://github.com/MengTo/Spring'
s.authors = { 'Meng To' => 'meng@designcode.io' }
s.source = { :git => 'https://github.com/MengTo/Spring.git', :tag => s.version.to_s }
s.requires_arc = true
s.ios.deployment_target = '8.0'
s.source_files = 'Spring/*.swift'
end

0 comments on commit 9ac47a4

Please sign in to comment.