Commit 25889938 authored by jz's avatar jz

modify phobos isfirst 类型

parent 1d044895
PODS: PODS:
- GMCache (1.0.1): - GMCache (1.0.1):
- TMCache (= 2.1.0) - TMCache (= 2.1.0)
- GMPhobos (2.0.7): - GMPhobos (2.1.0):
- GMCache - GMCache
- MagicalRecord - MagicalRecord
- MJExtension - MJExtension
...@@ -28,7 +28,7 @@ EXTERNAL SOURCES: ...@@ -28,7 +28,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611 GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: 115e2608cdebcccf445bf95766fee25a4b62153d GMPhobos: 0bfc43167cfeb979fe41d2fa6fa34f6deeb95936
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755 MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545 MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
......
...@@ -137,8 +137,8 @@ static BOOL isGray = NO; ...@@ -137,8 +137,8 @@ static BOOL isGray = NO;
- (void)onPVEnd:(UIResponder<PhobosPVProtocol> *)page { - (void)onPVEnd:(UIResponder<PhobosPVProtocol> *)page {
[_rePhobos onPVEnd:page]; [_rePhobos onPVEnd:page];
[_oldPhobos onPVEnd:page]; [_oldPhobos onPVEnd:page];
if (page.isFirst == 0) { if (!page.isFirst) {
page.isFirst = 1; page.isFirst = YES;
} }
} }
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
- (BOOL)isFirst { - (BOOL)isFirst {
NSNumber *num = objc_getAssociatedObject(self, _cmd); NSNumber *num = objc_getAssociatedObject(self, _cmd);
return [num integerValue]; return [num boolValue];
} }
- (PhobosUpdatePVBlock)updatePVStartBlock { - (PhobosUpdatePVBlock)updatePVStartBlock {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment