Skip to content

Commit f0e87b3

Browse files
committed
readme update
1 parent 8a4729d commit f0e87b3

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,32 @@ Scrollable UIStackView. Scroll your stack view with a smile up on your face. Wri
99
[![License](https://img.shields.io/cocoapods/l/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
1010
[![Platform](https://img.shields.io/cocoapods/p/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
1111

12-
## Installation
12+
## Installation with CocoaPods
1313

14-
ScrollableStackView is available through [CocoaPods](http://cocoapods.org). To install
15-
it, simply add the following line to your Podfile:
14+
[CocoaPods](http://cocoapods.org) is a dependency manager for both Swift and Objective-C. ScrollableStackView is available through [CocoaPods](http://cocoapods.org). You can install it with the following command:
15+
16+
```bash
17+
$ gem install cocoapods
18+
```
19+
20+
#### Podfile
21+
22+
To install it, simply add the following line to your Podfile:
1623

1724
```ruby
25+
source 'https://github.com/CocoaPods/Specs.git'
1826
platform :ios, '9.0'
27+
28+
target 'TargetName' do
1929
pod "ScrollableStackView"
30+
end
2031
```
32+
Then, run the following command:
33+
34+
```bash
35+
$ pod install
36+
```
37+
2138
## Usage
2239
### Sample Code (Swift)
2340

@@ -52,6 +69,9 @@ UIView *rectangle = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 55)];
5269
[scrollable.stackView addArrangedSubview:rectangle];
5370
// ...
5471
```
72+
73+
74+
5575
## Example Project
5676
5777
Cocoapods
@@ -61,9 +81,21 @@ To run the example project, clone the repo, and run `pod install` from the Examp
6181
<!--## Wish List -->
6282
<!--## Requirements-->
6383
84+
85+
## Communication
86+
87+
If you see a way to improve the project :
88+
89+
- If you **need help**, use [Stack Overflow](http://stackoverflow.com).
90+
- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com).
91+
- If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue.
92+
- If you **have a feature request**, open an issue.
93+
- If you **want to contribute**, submit a pull request. It's better to begin with an issue rather than a pull request, though, because we might disagree whether the proposed change is an actual improvement. :wink:
94+
6495
### TODO
6596
66-
- [ ] Add Storyboard in example project
97+
- [ ] Add Storyboard in example project
98+
- [ ] Add toolbar for example project (or UITableView)
6799
- [ ] Try NSLayoutAnchor style (requires iOS 9 and later)
68100
- [ ] Add Carthage support
69101
- [ ] Add Swift Package Manager support

0 commit comments

Comments
 (0)