Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing all the weirdness with SVPullToRefresh's latest changes.

  • Loading branch information...
commit 451c2b9d517cf3f2c1fe12407bde8514c2c78785 1 parent 9c44b9e
Jake Marsh authored
BIN  .DS_Store
View
Binary file not shown
2  JMStatefulTableViewController.podspec
View
@@ -20,4 +20,4 @@ Pod::Spec.new do |s|
s.source_files = ['JMStatefulTableViewController/*.*']
s.dependency 'SVPullToRefresh', :git => 'git://github.com/samvermette/SVPullToRefresh.git', :commit => '1362d86a52a53baa96cbd4e15ad46d50418fe4fa'
-end
+end
13 JMStatefulTableViewController/JMStatefulTableViewController.m
View
@@ -8,10 +8,15 @@
#import "JMStatefulTableViewController.h"
-@interface SVPullToRefresh ()
+@interface SVPullToRefreshView ()
@property (nonatomic, copy) void (^pullToRefreshActionHandler)(void);
-@property (nonatomic, copy) void (^infiniteScrollingActionHandler)(void);
+
+@end
+
+@interface SVInfiniteScrollingView ()
+
+@property (nonatomic, copy) void (^infiniteScrollingHandler)(void);
@end
@@ -340,7 +345,7 @@ - (void) viewWillAppear:(BOOL)animated {
- (void) updateInfiniteScrollingHandlerAndFooterView:(BOOL)shouldInfinitelyScroll {
if (shouldInfinitelyScroll) {
- if(self.tableView.infiniteScrollingView.infiniteScrollingActionHandler == nil) {
+ if(self.tableView.infiniteScrollingView.infiniteScrollingHandler == nil) {
__block JMStatefulTableViewController *safeSelf = self;
[self.tableView addInfiniteScrollingWithActionHandler:^{
@@ -348,7 +353,7 @@ - (void) updateInfiniteScrollingHandlerAndFooterView:(BOOL)shouldInfinitelyScrol
}];
}
} else {
- self.tableView.infiniteScrollingView.infiniteScrollingActionHandler = nil;
+ self.tableView.infiniteScrollingView.infiniteScrollingHandler = nil;
self.tableView.tableFooterView = nil;
}
}
5 Podfile
View
@@ -1,4 +1,3 @@
-platform :ios
-
-pod 'SVPullToRefresh', :git => 'git://github.com/samvermette/SVPullToRefresh.git', :commit => '1362d86a52a53baa96cbd4e15ad46d50418fe4fa'
+platform :ios, '5.0'
+pod 'SVPullToRefresh', '~> 0.4.1'
14 Podfile.lock
View
@@ -1,17 +1,11 @@
PODS:
-- SVPullToRefresh (0.2)
+- SVPullToRefresh (0.4.1)
DEPENDENCIES:
-- SVPullToRefresh (from `git://github.com/samvermette/SVPullToRefresh.git', commit
- `1362d86a52a53baa96cbd4e15ad46d50418fe4fa')
-
-EXTERNAL SOURCES:
- SVPullToRefresh:
- :git: git://github.com/samvermette/SVPullToRefresh.git
- :commit: 1362d86a52a53baa96cbd4e15ad46d50418fe4fa
+- SVPullToRefresh (~> 0.4.1)
SPEC CHECKSUMS:
- SVPullToRefresh: d95803a9816d3919378ede69342c54927fb953ea
+ SVPullToRefresh: 61a0e4bd12bd6f8e3465909810b0fbeb1a28d5f2
-COCOAPODS: 0.16.0
+COCOAPODS: 0.14.0

1 comment on commit 451c2b9

Joshua Kovach

If the library is now working successfully with the version of SVPullToRefresh in the Podfile, the *.podspec file should also be updated to use that version rather than the commit specified here. The version from the podspec I pushed was the latest compatible version prior to the SVPullToRefresh complete refactor.

Please sign in to comment.
Something went wrong with that request. Please try again.