Skip to content

Commit 44534b4

Browse files
authored
Update README.md
1 parent f960bbd commit 44534b4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Refresher is pull to refresh library written in Swift. It provides easy to use UIScrollView methods to add pull to refresh to your view.
66
Refresher also supports custom animations.
77

8-
##Usage
8+
## Usage
99

10-
###Basic usage
10+
### Basic usage
1111

1212
```swift
1313
tableView.addPullToRefreshWithAction {
@@ -20,7 +20,7 @@ tableView.addPullToRefreshWithAction {
2020
}
2121
```
2222

23-
###Custom animations
23+
### Custom animations
2424

2525
Refresher supports custom animations on `PullToRefreshView`. You need to create object that conforms to `PullToRefreshViewAnimator` protocol.
2626
Then, just pass your custom animator in `addPullToRefrshWithAction`:
@@ -44,7 +44,7 @@ Required methods that your custom object need to implement are:
4444
* `func pullToRefresh(view: PullToRefreshView, stateDidChange state: PullToRefreshViewState)` - Called when `PullToRefreshView` changes its state
4545

4646

47-
###Custom views
47+
### Custom views
4848

4949
You can use your own custom `UIView` subclass as pull to refresh view.
5050

@@ -64,39 +64,39 @@ if let customSubview = NSBundle.mainBundle().loadNibNamed("CustomSubview", owner
6464

6565
Your custom subclass has to conform to `PullToRefreshViewDelegate`.
6666

67-
##Requirements
67+
## Requirements
6868

6969
* Xcode 6
7070
* iOS 8.0
7171

72-
##Installation
72+
## Installation
7373

74-
###Git submodule
74+
### Git submodule
7575

7676
1. Add Refresher as a git submodule into your top-level project directory or simply copy whole folder
7777
2. Find `PullToRefresh.xcodeproj` and drag it into the file navigator of your app project.
7878
3. In Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar.
7979
4. Under "General" panel go to "Linked Frameworks and Libraries" and add `Refresher.framework`
8080

81-
###Framework
81+
### Framework
8282

8383
1. Simply download Refresher
8484
2. Build it and you should find `Refresher.framework` under "Products" group.
8585
3. Right click on it and select "Show in Finder" option.
8686
4. Just drag and drop `Refresher.framework` to your project
8787

88-
###Cocoapods
88+
### Cocoapods
8989

9090
1. Add `pod 'Refresher'` to your Podfile
9191
2. Run `pod install`
9292

93-
##Examples
93+
## Examples
9494

9595
![Refresher: preview default](https://raw.githubusercontent.com/jcavar/refresher/master/previews/anim_default.gif)
9696
![Refresher: preview beat](https://raw.githubusercontent.com/jcavar/refresher/master/previews/anim_beat.gif)
9797
![Refresher: preview pacman](https://raw.githubusercontent.com/jcavar/refresher/master/previews/anim_pacman.gif)
9898

99-
##Credits
99+
## Credits
100100

101101
Refresher is created by [Josip Ćavar](https://twitter.com/josip04) and inspired by [SVPullToRefresh](https://github.com/samvermette/SVPullToRefresh/). If you have suggestions or bug reports, feel free to send pull request or [create new issue](https://github.com/jcavar/refresher/issues/new).
102102

0 commit comments

Comments
 (0)