Skip to content

Commit fd9cd8b

Browse files
committed
Adds SPM installation instruction to README.md
1 parent 3ce62a2 commit fd9cd8b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,21 @@ github "layoutBox/FlexLayout"
11041104
3. Add built `FlexLayout.framework` in your Xcode project in the **Embedded Binaries** section.
11051105

11061106

1107+
### Swift Package Manager
1108+
1109+
#### Another Swift Package
1110+
1111+
To integrate FlexLayout into another Swift Package, add it as a dependency:
1112+
1113+
```
1114+
.package(url: "https://github.com/layoutBox/FlexLayout.git", from: "1.3.18")
1115+
```
1116+
1117+
#### In an Xcode target
1118+
1119+
To integrate FlexLayout into an Xcode target, use the `File -> Swift Packages -> Add Package Dependency` menu item.
1120+
1121+
11071122
<br/>
11081123

11091124
## Changelog

0 commit comments

Comments
 (0)