Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 2a75d64

Browse files
committed
Closes #9: Add Carthage example notes to readme.
1 parent 4b26948 commit 2a75d64

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ your Podfile:
103103
pod "ScrollingCardView"
104104
```
105105

106+
#### Carthage
107+
ScrollingCardView is also available through Carthage. Add the following to your
108+
Cartfile:
109+
110+
```
111+
github "mozilla-mobile/ScrollingCardView" >= 0.1.2
112+
```
113+
114+
Then drag-and-drop `Carthage/Build/iOS/ScrollingCardView.framework` into your
115+
"Linked Frameworks and Libraries" section and add the `copy-frameworks` script
116+
as specified in the [Carthage github
117+
readme](https://github.com/Carthage/Carthage/).
118+
106119
### Notes
107120
* This project is not tested with Interface Builder
108121
* This project is unlikely to work with non-constraint based layouts
@@ -116,6 +129,16 @@ open Example/ScrollingCardView.xcworkspace
116129

117130
Xcode will open: run from there.
118131

132+
### Carthage
133+
To run the Carthage example project:
134+
```sh
135+
cd Example_Carthage
136+
carthage update
137+
open Example_Carthage.xcodeproj
138+
```
139+
140+
Xcode will open: run from there.
141+
119142
## Development
120143
Follow the instructions above to open the example project. The library files
121144
can be found in:

0 commit comments

Comments
 (0)