mirror of
https://github.com/devicekit/DeviceKit.git
synced 2026-06-16 10:24:30 +00:00
update documentation
This commit is contained in:
@@ -11,8 +11,9 @@
|
||||
| Branch | Build Status | Versions |
|
||||
|:---------|:--------------:|:----------:|
|
||||
| **master** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| - |
|
||||
| **Swift 4 / Swift 4.1** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| ≥ 1.3.0 ≤ 1.7.0 |
|
||||
| **Swift 3** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| ≥ 1.0 ≤ 1.2.3 |
|
||||
| **Swift 4.2** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| ≥ 1.8.0 |
|
||||
| **Swift 4 / Swift 4.1** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| ≥ 1.3.0 < 1.8.0 |
|
||||
| **Swift 3** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| ≥ 1.0 < 1.3 |
|
||||
| **Swift 2.3** |[](https://travis-ci.org/dennisweissmann/DeviceKit)| < 1.0 |
|
||||
|
||||
`DeviceKit` is a value-type replacement of [`UIDevice`](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/).
|
||||
@@ -45,13 +46,13 @@ DeviceKit can be installed in various ways.
|
||||
|
||||
### CocoaPods
|
||||
|
||||
#### Swift 4.2 (Pre-Release)
|
||||
#### Swift 4.2
|
||||
```ruby
|
||||
pod 'DeviceKit', :git => 'https://github.com/dennisweissmann/DeviceKit.git', :branch => 'master'
|
||||
pod 'DeviceKit', '~> 1.8'
|
||||
```
|
||||
#### Swift 4.0 - Swift 4.1
|
||||
```ruby
|
||||
pod 'DeviceKit', '~> 1.3'
|
||||
pod 'DeviceKit', '~> 1.7.0'
|
||||
```
|
||||
#### Swift 3
|
||||
```ruby
|
||||
@@ -64,13 +65,13 @@ pod 'DeviceKit', :git => 'https://github.com/dennisweissmann/DeviceKit.git', :br
|
||||
|
||||
### Carthage
|
||||
|
||||
#### Swift 4.2 (Pre-Release)
|
||||
#### Swift 4.2
|
||||
```ogdl
|
||||
github "dennisweissmann/DeviceKit" "master"
|
||||
github "dennisweissmann/DeviceKit" ~> 1.8
|
||||
```
|
||||
#### Swift 4.0 - Swift 4.1
|
||||
```ogdl
|
||||
github "dennisweissmann/DeviceKit" ~> 1.3
|
||||
github "dennisweissmann/DeviceKit" ~> 1.7.0
|
||||
```
|
||||
#### Swift 3
|
||||
```ogdl
|
||||
|
||||
Reference in New Issue
Block a user