From aa7874ea9a98f6e029a7dd0ab1a88a7d37306fb0 Mon Sep 17 00:00:00 2001 From: Ryo Aoyama Date: Mon, 26 Sep 2016 03:46:35 +0900 Subject: [PATCH] Bump version to 0.6.0 --- .swift-version | 1 + RAReorderableLayout.podspec | 2 +- README.md | 20 +++++--------------- 3 files changed, 7 insertions(+), 16 deletions(-) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..9f55b2c --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.0 diff --git a/RAReorderableLayout.podspec b/RAReorderableLayout.podspec index 7e4715b..60c4106 100644 --- a/RAReorderableLayout.podspec +++ b/RAReorderableLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RAReorderableLayout" - s.version = "0.5.0" + s.version = "0.6.0" s.summary = "A UICollectionView layout which you can move items with drag and drop." s.license = { :type => 'MIT', :file => 'LICENSE' } s.homepage = "https://github.com/ra1028" diff --git a/README.md b/README.md index 68a703f..eda0994 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,15 @@ RAReorderableLayout ![animated gif](https://github.com/ra1028/RAReorderableLayout/raw/master/Assets/animation.gif) ## Requirements -- Swift 2.3 / Xcode 8 +- Swift 3.0 / Xcode 8 OS X 10.9 or later iOS 8.0 or later watchOS 2.0 or later tvOS 9.0 or later +_Still wanna use swift2.2 or 2.3?_ +-> You can use [0.5.0](https://github.com/ra1028/RAReorderableLayout/tree/0.5.0) instead. + ## Installation __iOS8 or later__ @@ -36,11 +39,7 @@ end ```ruby # Cartfile github "ra1028/RAReorderableLayout" - ``` - -__iOS7__ -1. Simply copy RAReorderableLayout.swift into your project. - +``` ## Usage Setup your collection view to use RAReorderableLayout. @@ -72,14 +71,5 @@ optional func scrollTrigerPaddingInCollectionView(collectionView: UICollectionVi optional func scrollSpeedValueInCollectionView(collectionView: UICollectionView) -> CGFloat ``` - -## Property -``` -var trigerInsets: UIEdgeInsets = UIEdgeInsetsMake(100.0, 100.0, 100.0, 100.0) -var trigerPadding: UIEdgeInsets = UIEdgeInsetsZero -var scrollSpeedValue: CGFloat = 10.0 -``` - - ## License RAReorderableLayout is available under the MIT license. See the LICENSE file for more info.