chpwn/PullToRefreshView — pull request #9 by cbowns (2011-11-28 21:25:25+00:00)
Title: Update to PTR from Batch

Includes great fixes:
- A retain cycle with the owning scrollview and the delegate view controller (@chpwn: see commentary and more info at DailyBooth/Batch-ios#492)
- State now initializes as “uninitialized” so it’s easy to tell a brand-new PTR view from one that’s been created and initialized.
- Factors out the trigger constant to be less magic-numbery and more `#define`’d
- Forward-declares methods to help with compile-time `@selector` checking.
- Adds a loading timeout to avoid infinitely spinning PTR views.
- Checks state transition value before transitioning in network (un)availability changes to avoid crushing a non-normal state.