Skip to content

Commit

Permalink
Merge pull request #140 from JakeLin/feature/get-release-2-1-ready
Browse files Browse the repository at this point in the history
Get release 2.1 ready
  • Loading branch information
JakeLin committed Mar 30, 2016
2 parents 4292042 + a191323 commit cef5371
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
29 changes: 23 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,37 @@ All notable changes to this project will be documented in this file.

#### API breaking changes

- Removing `MaskDesignable` public methods ([#101](https://github.com/JakeLin/IBAnimatable/issues/101)):
- `maskCircle()`, use instead: `view.maskType = String(MaskType.Circle)`
- `maskStar(_:)`, use instead: `view.maskType = `Star(6)`
- `maskPolygon()`, use instead: `view.maskType = `String(MaskType.Polygon)`
- `maskTriangle()`, use instead: `view.maskType = `String(MaskType.Triangle)`
- `maskWave(_:_:_:)`, use instead: `view.maskType = `Wave(up, 16, 40)`
#### Enhancements

#### Bugfixes

### [2.1](https://github.com/JakeLin/IBAnimatable/releases/tag/2.1)

#### API breaking changes

- Remove `MaskDesignable` public methods ([#101](https://github.com/JakeLin/IBAnimatable/issues/101)):
- Remove `maskCircle()`, use `view.maskType = String(MaskType.Circle)` instead
- Remove `maskStar(_:)`, use `view.maskType = "Star(6)"` instead
- Remove `maskPolygon()`, use `view.maskType = String(MaskType.Polygon)` instead
- Remove `maskTriangle()`, use `view.maskType = String(MaskType.Triangle)` instead
- Remove `maskWave(_:_:_:)`, use `view.maskType = "Wave(up, 16, 40)"` instead
- Improve the options in `TransitionAnimationType` enum. ([#137](https://github.com/JakeLin/IBAnimatable/pull/137))
- Remove `SystemCubeFromLeft`, use `SystemCube(Left)`
- Remove `SystemCubeFromRight`, use `SystemCube(Right)`
- Remove `SystemCubeFromTop`, use `SystemCube(Top)`
- Remove `SystemCubeFromBottom`, use `SystemCube(Bottom)`
- Remove `SystemFlipFromLeft`, use `SystemFlip(Left)`
- Remove `SystemFlipFromRight`, use `SystemFlip(Right)`
- Remove `SystemFlipFromTop`, use `SystemFlip(Top)`
- Remove `SystemFlipFromBottom`, use `SystemFlip(Bottom)`

#### Enhancements

- Support Xcode 7.3 and Swift 2.2
- Configurable mask polygon (sides) [#112](https://github.com/JakeLin/IBAnimatable/issues/112)
- Add `SystemPageCurlAnimator` to support `SystemPageCurlFromTop` and `SystemPageCurlFromBottom` transition animations [#126](https://github.com/JakeLin/IBAnimatable/issues/126)
- `AnimatableLabel` now conforms `BorderDesignable` and `FillDesignable`
- Support Carthage 0.15.2 [#131](https://github.com/JakeLin/IBAnimatable/issues/131)

#### Bugfixes

Expand Down
2 changes: 1 addition & 1 deletion Documentation/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ view.squeezeInDown{ view.pop { view.shake{ view.squeeze{ view.wobble{ view.flipX

### Carthage

`Cartfile` 中添加 `github "JakeLin/IBAnimatable" ~> 1.2`
`Cartfile` 中添加 `github "JakeLin/IBAnimatable" ~> 2.1`

### Git submodule
你一定很熟悉 Git,应该不用我多说了,把这个 Repo 作为一个 submodule ,并把项目文件加到你的 workspace 里面,然后把 `IBAnimatable.framework` 放到你的应用程序的 Target 里面。
Expand Down
2 changes: 1 addition & 1 deletion IBAnimatable.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "IBAnimatable"
s.version = "2.0"
s.version = "2.1"
s.summary = "Design and prototype UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable."
s.homepage = "https://github.com/JakeLin/IBAnimatable"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Add `pod 'IBAnimatable'` to your Podfile.

### [Carthage](https://github.com/Carthage/Carthage)

Add `github "JakeLin/IBAnimatable" ~> 2.0` to your Cartfile.
Add `github "JakeLin/IBAnimatable" ~> 2.1` to your Cartfile.

### Git submodule

Expand Down Expand Up @@ -320,7 +320,7 @@ Easily add color layer on top of the UI element especially `AnimatableImageView`
### TransitionAnimatable protocol
| Property name | Data type | Remark |
| ------------- |:-------------:| ----- |
| transitionAnimationType | Optional<String> | Supported transition animations. All predefined transition animations are in enum [`TransitionAnimationType`](https://github.com/JakeLin/IBAnimatable/blob/master/IBAnimatable/TransitionAnimationType.swift), the type starts with `System` can only use in Push/Pop transitions, not Present/Dismiss transitions |
| transitionAnimationType | Optional<String> | Supported transition animations. Tap on "Forgot Password" button to see all predefined transition animations, e.g. `Fade`, `SystemCube(Left)` and `SystemPageCurl(Bottom)`. The transition type starts with `System` can only use in Push/Pop transitions, not Present/Dismiss transitions |
| transitionDuration | Double | transition duration. Default value is defined in [`Constants`](https://github.com/JakeLin/IBAnimatable/blob/master/IBAnimatable/Constants.swift) (0.5 seconds) |
| interactiveGestureType | Optional<String> | interactive gesture type. used to specify the gesture to dismiss/pop current scence. All supported interactive gesture types are in [`InteractiveGestureType`](https://github.com/JakeLin/IBAnimatable/blob/master/IBAnimatable/InteractiveGestureType.swift) |

Expand Down

0 comments on commit cef5371

Please sign in to comment.