You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresher supports custom animations on `PullToRefreshView`. You need to create object that conforms to `PullToRefreshViewAnimator` protocol.
26
26
Then, just pass your custom animator in `addPullToRefrshWithAction`:
@@ -44,7 +44,7 @@ Required methods that your custom object need to implement are:
44
44
*`func pullToRefresh(view: PullToRefreshView, stateDidChange state: PullToRefreshViewState)` - Called when `PullToRefreshView` changes its state
45
45
46
46
47
-
###Custom views
47
+
###Custom views
48
48
49
49
You can use your own custom `UIView` subclass as pull to refresh view.
50
50
@@ -64,39 +64,39 @@ if let customSubview = NSBundle.mainBundle().loadNibNamed("CustomSubview", owner
64
64
65
65
Your custom subclass has to conform to `PullToRefreshViewDelegate`.
66
66
67
-
##Requirements
67
+
##Requirements
68
68
69
69
* Xcode 6
70
70
* iOS 8.0
71
71
72
-
##Installation
72
+
##Installation
73
73
74
-
###Git submodule
74
+
###Git submodule
75
75
76
76
1. Add Refresher as a git submodule into your top-level project directory or simply copy whole folder
77
77
2. Find `PullToRefresh.xcodeproj` and drag it into the file navigator of your app project.
78
78
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.
79
79
4. Under "General" panel go to "Linked Frameworks and Libraries" and add `Refresher.framework`
80
80
81
-
###Framework
81
+
###Framework
82
82
83
83
1. Simply download Refresher
84
84
2. Build it and you should find `Refresher.framework` under "Products" group.
85
85
3. Right click on it and select "Show in Finder" option.
86
86
4. Just drag and drop `Refresher.framework` to your project
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).
0 commit comments