Skip to content

Commit

Permalink
minor change to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaitas committed Jan 26, 2013
1 parent 9d95a2a commit dcf274d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Then just link against the static library the `CKRefreshControl` project provide

### API Compatible

CKRefreshControl has exactly the same public API as UIRefreshControl. Thus, your code can treat either one as an instance of the other. Just use CKRefreshControl or UIRefreshControl throughout your code, and you'll magically get iOS 5 support.
CKRefreshControl has exactly the same public API as UIRefreshControl. Thus, your code can treat either one as an instance of the other. Just use `CKRefreshControl` or `UIRefreshControl` throughout your code, and you'll magically get iOS 5 support.

We take advantage of this to provide excellent iOS 6 compatibility. When running on an iOS 6 device, `-[CKRefreshControl init]` actually returns a `UIRefreshControl` instance. No CKRefreshControl is ever initialized, and everything will work exactly as if CKRefreshControl did not even exist.

Expand Down

0 comments on commit dcf274d

Please sign in to comment.