164 Commits

Author SHA1 Message Date
Sam Vermette
a5f9dfee86 Update project settings. 2013-09-26 13:12:05 -04:00
Sam Vermette
6c87515ae9 Merge pull request #125 from jweyrich/master
Fix unitialized variables. Remove unnecessary type-cast.
2013-09-26 10:02:01 -07:00
Sam Vermette
98a713c371 Merge pull request #127 from hborders/typesafe_enum_and_analyzer
Use new typesafe enum macro. Run analyzer.
2013-09-26 10:01:20 -07:00
Sam Vermette
28691b7784 Merge pull request #132 from otherinbox/master
Fixing issue #131
2013-09-26 10:00:40 -07:00
Sam Vermette
be43a9b0ba Merge pull request #144 from alanzeino/master
Animate activityIndicatorView as soon as the view appears
2013-09-26 09:56:33 -07:00
Sam Vermette
34e2c30266 Merge pull request #133 from nonamelive/master
Fixed a potential KVO crash.
2013-09-26 09:54:12 -07:00
Sam Vermette
bdb5404a5b Merge pull request #152 from michelzanini/master
Centralise arrow when the text is empty
2013-09-25 20:52:05 -07:00
Sam Vermette
70496a556a Merge pull request #143 from bdbergeron/master
Add support for setting UIActivityIndicatorView color (iOS 5+)
2013-09-25 20:51:43 -07:00
michelzanini
e424e6523d Avoiding to add a margin to the arrow when the title text is empty. This will make the arrow centralized in the screen when there is no text. 2013-09-25 15:23:23 +01:00
Kai
8e726fc604 Fixed an animation problem on iOS 7
Immediately layout subviews when changing state, otherwise changes in layoutSubviews will be animated on iOS 7.
2013-09-23 10:56:48 +08:00
Alan Zeino
2de7dbaa31 Animate activityIndicatorView as soon as the view appears 2013-09-06 11:48:29 +10:00
Brad Bergeron
0116cbcc69 Added availability constraint to UIActivityIndicatorView color property. 2013-08-20 11:13:01 -04:00
Brad Bergeron
790fe106a3 Added support for setting the color of the UIActivityIndicatorView. 2013-08-20 10:54:22 -04:00
Kai
1145eed986 Fixed a potential KVO crash.
The contentSize keypath should also be removed when showsPullToRefresh is set to NO.
2013-06-17 14:48:56 +08:00
Kevin Lord
21f5e29870 Fixed issue where pull to refresh view would not hide cleanly 2013-05-29 17:38:37 -05:00
Heath Borders
a0d347eef7 Use new typesafe enum macro. Run analyzer.
This helps guarantee that all switch cases are properly handled.

Assumed that SVPullToRefreshStateAll should be treated the same as SVPullToRefreshStateStopped in existing switch statements, since SVPullToRefreshStateAll is an invalid state for those. assert(NO) would also be appropriate.

Turned on static analyzer since defining the SVPullToRefreshStateAll cases in existing switch statements fixed all analyzer warnings.
2013-05-20 14:51:46 -05:00
Jardel Weyrich
6059aa5f1a Fix unitialized variables. 2013-05-13 16:07:16 -03:00
Jardel Weyrich
38f879ca24 Fix variable type to match returned type. No need for type-casting. 2013-05-10 17:11:06 -03:00
Sam Vermette
5b98a05001 Merge pull request #123 from Gabro/bottom-pulltorefresh
Added option for pull to refresh from bottom
2013-05-03 09:42:57 -07:00
Gabriele Petronella
92c591ee28 Handled case where the contentSize of the scrollView is shorter than its bounds 2013-04-27 12:26:07 -05:00
Gabriele Petronella
076578e061 Added option for pull to refresh from bottom 2013-04-26 19:39:44 -05:00
Sam Vermette
fb40dd6ae4 Fix #116. 2013-03-26 01:38:19 -04:00
Sam Vermette
58428c982a Clean up demo project. 2013-03-26 01:34:18 -04:00
Sam Vermette
34b8c65e17 Add CocoaPods install instructions. 2013-03-14 22:55:35 -04:00
Sam Vermette
eb89cff4ea Update project settings. 2013-03-14 22:54:00 -04:00
Sam Vermette
7ab36aa882 Fix vertical margin between title and subtitle labels. 2013-03-14 22:53:37 -04:00
Sam Vermette
9ac64062d7 Merge and fix conflicts. 2013-03-14 22:50:40 -04:00
smorel
6649c5000c Fixes pull to refresh layout to centre the view and align labels depending of their font and text. 2013-03-04 16:56:41 -05:00
Sam Vermette
81e29cd341 Ditto. 2013-02-16 02:29:52 -05:00
Sam Vermette
3027ec238a Clean up Read me. 2013-02-16 02:29:11 -05:00
Sam Vermette
764b88c028 Merge pull request #110 from brokedi/patch-1
Bugfix CGRect of titleFrame
2013-02-15 23:25:18 -08:00
Sam Vermette
71f06a8a94 Merge pull request #111 from educreations/master
Fix a typo.
2013-02-15 23:24:34 -08:00
Chris Streeter
3f2fabc4fa Fix a reference to a header file. 2013-02-14 20:48:23 -08:00
brokedi
b36a9bc2a7 Bugfix CGRect of titleFrame
When updating the subTitle, at the beginning the subTitleLabel.text is empty.

It should be filled before setting the frame Rects, if not the labels will overlay.
2013-02-14 11:17:03 +01:00
Sam Vermette
36c3270870 Merge pull request #105 from MarkVillacampa/master
add explanation to Infinite Scrolling like Pull to Refresh
2013-01-30 14:09:57 -08:00
Sam Vermette
4a5c985aeb Merge pull request #106 from mertdumenci/master
Fixed setting a custom view left the older ones as subviews
2013-01-30 14:02:17 -08:00
Mert Dümenci
4c4dcb31ec Fixed setting a custom view left the older ones as subviews 2013-01-30 16:16:23 +02:00
Mark Villacampa
3e6edbf194 add explanation to Infinite Scrolling like Pull to Refresh 2013-01-27 02:37:43 +01:00
Sam Vermette
49b27e89a6 Fix Read me. 2013-01-26 17:52:10 -05:00
Sam Vermette
90fe6879e8 Convert Read me to Markdown. 2013-01-26 17:48:27 -05:00
Sam Vermette
de982d0021 Update podspec (iOS 5+). 0.4.1 2013-01-26 17:34:06 -05:00
Sam Vermette
a56416575a Fix podspec validation error. 2013-01-26 17:29:32 -05:00
Sam Vermette
4c68194c79 Update podspec to 0.4.1. 2013-01-26 17:28:38 -05:00
Sam Vermette
506018caa8 Merge pull request #104 from chourobin/master
Update podspec so that users can track the master
2013-01-26 14:26:46 -08:00
Robin Chou
19357a766a Merge remote-tracking branch 'parent/master' 2013-01-26 17:12:42 +08:00
Sam Vermette
59d0eb0e94 Position labels depending on pull to refresh view height (fix #60). 2013-01-25 23:18:00 -05:00
Robin Chou
6f244e3658 updated podspec 2013-01-21 01:12:16 +08:00
Robin Chou
2cdd32ac28 updated podspec 2013-01-21 01:09:44 +08:00
Sam Vermette
fcb4222825 Merge pull request #100 from luosky/master
Prevent infiniteScrolling being triggered multiple times.
2013-01-16 14:28:08 -08:00
Luosky
e2d210a0dc prevent infiniteScrolling being triggered multiple times. 2013-01-16 17:06:10 +08:00