Prepare for release

This commit is contained in:
Robert Payne 2017-09-17 14:21:22 +12:00
parent eb12076561
commit 0417bda236
3 changed files with 8 additions and 12 deletions

View File

@ -7,8 +7,8 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/SnapKit.svg)](https://cocoapods.org/pods/SnapKit)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
#### ⚠️ **To use with Swift 2.x please ensure you are using == 0.22.0** ⚠️
#### ⚠️ **To use with Swift 3.x please ensure you are using >= 3.0.0** ⚠️
#### ⚠️ **To use with Swift 4.x please ensure you are using >= 4.0.0** ⚠️
## Contents
@ -23,13 +23,9 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
## Requirements
- iOS 8.0+ / Mac OS X 10.11+ / tvOS 9.0+
- Xcode 8.0+
- Xcode 9.0+
- Swift 3.0+
## Migration Guides
- [SnapKit 3.0 Migration Guide](https://github.com/SnapKit/SnapKit/blob/master/Documentation/SnapKit%203.0%20Migration%20Guide.md)
## Communication
- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/snapkit). (Tag 'snapkit')
@ -49,7 +45,7 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
$ gem install cocoapods
```
> CocoaPods 1.1.0+ is required to build SnapKit 3.0.0+.
> CocoaPods 1.1.0+ is required to build SnapKit 4.0.0+.
To integrate SnapKit into your Xcode project using CocoaPods, specify it in your `Podfile`:
@ -59,7 +55,7 @@ platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'SnapKit', '~> 3.2.0'
pod 'SnapKit', '~> 4.0.0'
end
```
@ -83,7 +79,7 @@ $ brew install carthage
To integrate SnapKit into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github "SnapKit/SnapKit" ~> 3.2.0
github "SnapKit/SnapKit" ~> 4.0.0
```
Run `carthage update` to build the framework and drag the built `SnapKit.framework` into your Xcode project.

View File

@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = 'SnapKit'
s.version = '3.2.0'
s.version = '4.0.0'
s.license = 'MIT'
s.summary = 'Harness the power of auto layout with a simplified, chainable, and compile time safe syntax.'
s.homepage = 'https://github.com/SnapKit/SnapKit'
s.authors = { 'Robert Payne' => 'robertpayne@me.com' }
s.social_media_url = 'http://twitter.com/robertjpayne'
s.source = { :git => 'https://github.com/SnapKit/SnapKit.git', :tag => '3.2.0' }
s.source = { :git => 'https://github.com/SnapKit/SnapKit.git', :tag => '4.0.0' }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.11'

View File

@ -179,8 +179,8 @@
EE235F5C1C5785A400C08960 /* Models */ = {
isa = PBXGroup;
children = (
EE235F621C5785C600C08960 /* Constraint.swift */,
2DBA080D1F1FAD66001CFED4 /* Typealiases.swift */,
EE235F621C5785C600C08960 /* Constraint.swift */,
EE235F631C5785C600C08960 /* ConstraintDescription.swift */,
EE235F641C5785C600C08960 /* ConstraintInsets.swift */,
EE235F651C5785C600C08960 /* ConstraintConfig.swift */,