Skip to content

Commit

Permalink
added installation instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dahan committed May 24, 2019
1 parent a5927ef commit cb489ea
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 4 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## 3.1.1

* Added installation instructions to README.

## 3.1.0

- Updated to swift 4.2.
- [pr-45](https://github.com/CosmicMind/Motion/pull/45): Fixed issue-44, view is hidden below status bar during call.
- [issue-44](https://github.com/CosmicMind/Motion/issues/44): View is hidden below status bar when a call is active.
- [pr-50](https://github.com/CosmicMind/Motion/pull/50): Allow framework to be linked from extensions.
- [pr-53](https://github.com/CosmicMind/Motion/pull/53): Bug fixes and `MotionViewTransition`.
- Made `MotionTransition.{start|update|finish|cancel}` methods public.
- Changed to updating model before firing animations for `CALayer` animations.
- Added reverting `XXForNextTransition` options back to default.
- Fixed issue when interactive transition was cancelled it was calling finish instead of cancel.
- Fixed appearance transition callbacks for transition cancellation.
- Fixed resume time was calculated incorrectly.
- Fixed ~0.001 seconds precision issue by storing current time.
- Added `MotionViewTransition` to make transitions of views possible.
- [pr-54](https://github.com/CosmicMind/Motion/pull/54): Added setCompletionCallbackForNextTransition.
- [pr-55](https://github.com/CosmicMind/Motion/pull/55): Fixed UITabBarController had userinteraction enabled during transition.

## 1.5.0

* Updated for Swift 4.2.
Expand Down
4 changes: 2 additions & 2 deletions Motion.podspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Pod::Spec.new do |s|
s.name = 'Motion'
s.version = '3.1.0'
s.version = '3.1.1'
s.swift_version = '5.0'
s.license = 'MIT'
s.summary = 'A library used to create beautiful animations and transitions for Apple devices.'
s.summary = 'A library used to create beautiful animations and transitions for iOS.'
s.homepage = 'http://cosmicmind.com'
s.social_media_url = 'https://www.facebook.com/cosmicmindcom'
s.authors = { 'CosmicMind, Inc.' => 'support@cosmicmind.com' }
Expand Down
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,47 @@ In the above code example, a box view is created with a width of 100, height of
> **Embedded frameworks require a minimum deployment target of iOS 8.**
> - [Download Motion](https://github.com/CosmicMind/Motion/archive/master.zip)
Read [Material - It's time to download](https://www.cosmicmind.com/danieldahan/lesson/6) to learn how to install Material using [GitHub](http://github.com), [CocoaPods](http://cocoapods.org), [Carthage](https://github.com/Carthage/Carthage) and [Accio](https://github.com/JamitLabs/Accio).
## CocoaPods

[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:

```bash
$ gem install cocoapods
```

To integrate Motion's core features into your Xcode project using CocoaPods, specify it in your `Podfile`:

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

pod 'Motion', '~> 3.1.0'
```

Then, run the following command:

```bash
$ pod install
```

## Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

```bash
$ brew update
$ brew install carthage
```
To integrate Motion into your Xcode project using Carthage, specify it in your Cartfile:

```bash
github "CosmicMind/Motion"
```

Run `carthage update` to build the framework and drag the built `Motion.framework` into your Xcode project.

## Change Log

Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.1.0</string>
<string>3.1.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit cb489ea

Please sign in to comment.