Skip to content

Commit

Permalink
Merge pull request #558 from IBAnimatable/release/5.1.0
Browse files Browse the repository at this point in the history
Cut release 5.1.0 #no-public-changes
  • Loading branch information
SD10 committed Apr 22, 2018
2 parents 390f269 + bbd4bc4 commit 7df697d
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
4.0
4.1
12 changes: 12 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
## Versions

### Next

#### API breaking changes
N/A

#### Enhancements
N/A

#### Bugfixes
N/A

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

#### API breaking changes

N/A
Expand Down
2 changes: 1 addition & 1 deletion IBAnimatable.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "IBAnimatable"
s.version = "5.0.0"
s.version = "5.1.0"
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/IBAnimatable/IBAnimatable"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
72 changes: 43 additions & 29 deletions README.md
Expand Up @@ -31,12 +31,53 @@ With `IBAnimatable`, we can design a UI in Interface Builder like what we can do

As a designer, we love Sketch, which is a simple but yet super powerful tool to create UI. However, Sketch can't design interaction, navigation, transition and animation, and we may need another tool like Framer to design some of them. Moreover, to make an App Store ready App, we need to use Xcode and Interface Builder to implement the UI and animations. To speed up the process and minimize the waste, we create `IBAnimatable` to make Interface Builder designable and animatable.

## Version 5
IBAnimatable 5.0 is the latest major release of IBAnimatable. This version supports Swift 4. There are no API breaking changes from migrating from version 4.x.
## How to install
### Manually install

Copy and paste `IBAnimatable` folder in your Xcode project.

### [Swift package manager](https://swift.org/package-manager)
To integrate using Apple's Swift package manager, add the following as a dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/IBAnimatable/IBAnimatable.git", .upToNextMajor(from: "5.0.0"))
```

### [CocoaPods](https://cocoapods.org)
Add the following entry in your Podfile:

```ruby
pod 'IBAnimatable'
```

### [Carthage](https://github.com/Carthage/Carthage)
Add the following entry in your Cartfile:

```
github "IBAnimatable/IBAnimatable"
```

Please Notice, there is [a limitation of a built framework for `@IBDesignable` and `@IBInspectable`](https://github.com/Carthage/Carthage/issues/335), that will impact on `IBAnimatable` when you use Carthage. There is a workaround to use Carthage or Swift package manager with `IBAnimatable`, please have a look at [Carthage – no Animatable UI Classes appearing in Storyboard](https://github.com/IBAnimatable/IBAnimatable/issues/354)

As @DanielAsher mentioned
> I use carthage update --use-submodules --no-build --no-use-binaries and manually add the both the framework project and the framework as an embedded dependency.
>This method is robust, and fine-grained, but perhaps not as easy as dragging the built framework into your project.
### Git submodule

Add this repo as a submodule, and add the project file to your workspace. You can then link against `IBAnimatable.framework` for your application target.

## Version 5.1
IBAnimatable 5.1 is the latest major release of IBAnimatable. This version supports Swift 4.1. There are no API breaking changes from migrating from version 4.x.

If you migrate from version 3.x. Please check out [IBAnimatable 4.0 Migration Guide](Documentation/IBAnimatable 4.0 Migration Guide.md) for more information.

## Swift version
### Swift 4.1
There are no API breaking changes when migrating from Swift 4 to Swift 4.1 using IBAnimatable.

If you are using Xcode 9.3 with Swift 4.1, please use the latest tagged 5.x release.

### Swift 4
There are no API breaking changes when migrating from Swift 3.2 to Swift 4 using IBAnimatable.

Expand Down Expand Up @@ -169,33 +210,6 @@ view.animate(.squeeze(way: .in, direction: .left))
.completion { print("Animations finished!") }
```

## How to install
### Manually install

Copy and paste `IBAnimatable` folder in your Xcode project.

### [Swift package manager](https://swift.org/package-manager)

Add `.Package(url: "https://github.com/IBanimatable/IBanimatable.git", majorVersion: 5)` to your `Package.swift`

### [CocoaPods](https://cocoapods.org)

Add `pod 'IBAnimatable'` to your Podfile.

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

Add `github "IBanimatable/IBAnimatable"` to your Cartfile.

Please Notice, there is [a limitation of a built framework for `@IBDesignable` and `@IBInspectable`](https://github.com/Carthage/Carthage/issues/335), that will impact on `IBAnimatable` when you use Carthage. There is a workaround to use Carthage or Swift package manager with `IBAnimatable`, please have a look at [Carthage – no Animatable UI Classes appearing in Storyboard](https://github.com/IBAnimatable/IBAnimatable/issues/354)

As @DanielAsher mentioned
> I use carthage update --use-submodules --no-build --no-use-binaries and manually add the both the framework project and the framework as an embedded dependency.
>This method is robust, and fine-grained, but perhaps not as easy as dragging the built framework into your project.
### Git submodule

Add this repo as a submodule, and add the project file to your workspace. You can then link against `IBAnimatable.framework` for your application target.

## How to contribute
All of us can contribute to this project. Fewer overheads mean less time to build quality Apps and more time to enjoy coffee ☕️.

Expand Down

0 comments on commit 7df697d

Please sign in to comment.