Переглянути джерело

Nothing Important

Nothing Important
MJLee 11 роки тому
батько
коміт
81f69c5a2d

+ 1 - 1
MJRefreshExample/MJRefreshExample.xcodeproj/project.xcworkspace/xcshareddata/MJRefreshExample.xccheckout

@@ -14,7 +14,7 @@
 		<string>https://github.com/CoderMJLee/MJRefresh.git</string>
 	</dict>
 	<key>IDESourceControlProjectPath</key>
-	<string>MJRefreshExample/MJRefreshExample.xcodeproj/project.xcworkspace</string>
+	<string>MJRefreshExample/MJRefreshExample.xcodeproj</string>
 	<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
 	<dict>
 		<key>2A8CC76D0984F5186F869B6CBF35034B58A5ACD9</key>

BIN
MJRefreshExample/MJRefreshExample.xcodeproj/project.xcworkspace/xcuserdata/mj.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 2
MJRefreshExample/MJRefreshExample/MJRefresh/MJRefreshFooterView.m

@@ -12,7 +12,7 @@
 #import "UIScrollView+MJExtension.h"
 
 @interface MJRefreshFooterView()
-@property (assign, nonatomic) int lastRefreshCount;
+@property (assign, nonatomic) NSInteger lastRefreshCount;
 @end
 
 @implementation MJRefreshFooterView
@@ -147,7 +147,7 @@ - (void)setState:(MJRefreshState)state
             }
             
             CGFloat deltaH = [self heightForContentBreakView];
-            int currentCount = [self totalDataCountInScrollView];
+            NSInteger currentCount = [self totalDataCountInScrollView];
             // 刚刷新完毕
             if (MJRefreshStateRefreshing == oldState && deltaH > 0 && currentCount != self.lastRefreshCount) {
                 self.scrollView.mj_contentOffsetY = self.scrollView.mj_contentOffsetY;