diff --git a/Package.swift b/Package.swift index e4536c9..8cc39ee 100644 --- a/Package.swift +++ b/Package.swift @@ -5,6 +5,7 @@ import PackageDescription let package = Package( name: "ScrollStackController", + platforms: [.iOS(.v11)], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( diff --git a/README.md b/README.md index 711e9d9..61f57f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ScrollStackController

-

Easy scrollable complex layouts in UIKit

+

Easy scrollable layouts in UIKit

Create complex scrollable layout using UIViewControllers or plain UIViews and simplify your code! @@ -38,7 +38,7 @@ If you are using SwiftLocation or any other of my creations please consider the - [**Become a Sponsor**](https://github.com/sponsors/malcommac) - [Follow Me](https://github.com/malcommac) -- + ## Table of Contents @@ -693,7 +693,17 @@ You should look at it in order to implement your own layout, create dynamically pod 'ScrollStackController' ``` -It also supports `Swift Package Maneger` aka SPM. +It also supports `Swift Package Maneger` aka SPM in your `Package.swift`: + +```sh +import PackageDescription + + let package = Package(name: "YourPackage", + dependencies: [ + .Package(url: "https://github.com/malcommac/ScrollStackController.git", majorVersion: 0), + ] + ) +``` [↑ Back To Top](#index)