This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Warner
committed
Feb 12, 2019
1 parent
8b0599f
commit 6320377
Showing
4 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,13 @@ Download `https://github.com/DomainGroupOSS/swift-chainable-animations/blob/mast | |
### Carthage | ||
|
||
``` | ||
git "[email protected]:DomainGroupOSS/swift-chainable-animations.git" "0.1.0" | ||
git "DomainGroupOSS/swift-chainable-animations" "0.1.1" | ||
``` | ||
|
||
### Cocoapods | ||
|
||
``` | ||
pod "SwiftChainableAnimations", "0.1.0" | ||
pod "SwiftChainableAnimations", "0.1.1" | ||
``` | ||
|
||
### Swift Package Manager | ||
|
@@ -51,6 +51,8 @@ UIView.animate(withDuration: 0.15, delay: 0.0, options: .curveEaseIn, animations | |
|
||
### After | ||
```swift | ||
import ChainableAnimations | ||
|
||
UIView.prepareAnimation(withDuration: 0.15, options: .curveEaseIn) { | ||
self.titleImageView.transform = CGAffineTransform(scaleX: 1.2, y: 1.2) | ||
}.then(withDuration: 0.4, options: .curveEaseOut) { | ||
|
@@ -69,6 +71,8 @@ UIView.animate(withDuration: stageDuration, delay: 0, options: .curveEaseIn, ani | |
|
||
### After | ||
```swift | ||
import ChainableAnimations | ||
|
||
UIView | ||
.prepareAnimation(withDuration: stageDuration, delay: 0, options: .curveEaseIn, animations: stageOne) | ||
.then(withDuration: stageDuration, delay: 0, options: .curveEaseIn, animations: stageTwo) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters