Skip to content

Commit

Permalink
Fix some formatting issues with README.
Browse files Browse the repository at this point in the history
  • Loading branch information
samvermette committed Apr 24, 2012
1 parent 7cb7c5a commit 0d2450e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
h1. SVPullToRefresh

SVPullToRefresh allows you to easily add pull-to-refresh functionality to any @UIScrollView@ subclass with only 1 line of code. Instead of depending on delegates and/or subclassing @UIViewController@, SVPullToRefresh extends @UIScrollView@ with:

* a @- (void)addPullToRefreshWithActionHandler:(void (^)(void))actionHandler@ method
* a @pullToRefreshView@ property
SVPullToRefresh allows you to easily add pull-to-refresh functionality to any @UIScrollView@ subclass with only 1 line of code. Instead of depending on delegates and/or subclassing @UIViewController@, SVPullToRefresh extends @UIScrollView@ with a @addPullToRefreshWithActionHandler:@ method as well as a @pullToRefreshView@ property.

h2. Installation

Expand Down Expand Up @@ -34,7 +31,7 @@ The SVPullToRefresh view can be customized with the following properties:
@property (nonatomic, readwrite) UIActivityIndicatorViewStyle activityIndicatorViewStyle;
</pre>

You can access these properties your scroll view's @pullToRefreshView@ property. For instance, you would set the @arrowColor@ property using:
You can access these properties through your scroll view's @pullToRefreshView@ property. For instance, you would set the @arrowColor@ property using:

<pre>
tableView.pullToRefreshView.arrowColor = [UIColor whiteColor];
Expand All @@ -46,4 +43,6 @@ SVPullToRefresh extends @UIScrollView@ by adding a new public method as well as

h2. Credits

SVPullToRefresh is brought to you by "Sam Vermette":http://samvermette.com and "contributors to the project":https://github.com/samvermette/SVPullToRefresh/contributors. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by "creating new issues":https://github.com/samvermette/SVPullToRefresh/issues/new. If you're using SVPullToRefresh in your project, attribution would be nice. Big thanks to "@seb_morel":http://twitter.com/seb_morel for his "Demistifying the Objective-C runtime":http://cocoaheadsmtl.s3.amazonaws.com/demistifying-runtime.pdf which permitted the high abstraction of this class.
SVPullToRefresh is brought to you by "Sam Vermette":http://samvermette.com and "contributors to the project":https://github.com/samvermette/SVPullToRefresh/contributors. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by "creating new issues":https://github.com/samvermette/SVPullToRefresh/issues/new. If you're using SVPullToRefresh in your project, attribution would be nice.

Big thanks to "@seb_morel":http://twitter.com/seb_morel for his "Demistifying the Objective-C runtime":http://cocoaheadsmtl.s3.amazonaws.com/demistifying-runtime.pdf which permitted the high abstraction of this class.

0 comments on commit 0d2450e

Please sign in to comment.