Skip to content

Commit 10bec3f

Browse files
authored
Merge pull request #18 from eytanschulman/master
Added minimum iOS version to SPM description
2 parents 75bdc26 + 9ea4ad7 commit 10bec3f

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import PackageDescription
55

66
let package = Package(
77
name: "ScrollStackController",
8+
platforms: [.iOS(.v11)],
89
products: [
910
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1011
.library(

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="banner.png" width=300px alt="ScrollStackController" title="ScrollStackController">
33
</p>
44

5-
<p align="center"><strong>Easy scrollable complex layouts in UIKit</strong></p>
5+
<p align="center"><strong>Easy scrollable layouts in UIKit</strong></p>
66

77
Create complex scrollable layout using UIViewControllers or plain UIViews and simplify your code!
88

@@ -38,7 +38,7 @@ If you are using SwiftLocation or any other of my creations please consider the
3838
- [**Become a Sponsor**](https://github.com/sponsors/malcommac)
3939

4040
- [Follow Me](https://github.com/malcommac)
41-
-
41+
4242
<a name="index"/>
4343

4444
## Table of Contents
@@ -693,7 +693,17 @@ You should look at it in order to implement your own layout, create dynamically
693693
pod 'ScrollStackController'
694694
```
695695

696-
It also supports `Swift Package Maneger` aka SPM.
696+
It also supports `Swift Package Maneger` aka SPM in your `Package.swift`:
697+
698+
```sh
699+
import PackageDescription
700+
701+
let package = Package(name: "YourPackage",
702+
dependencies: [
703+
.Package(url: "https://github.com/malcommac/ScrollStackController.git", majorVersion: 0),
704+
]
705+
)
706+
```
697707

698708
[ Back To Top](#index)
699709

0 commit comments

Comments
 (0)