iOS: fix type error
This commit is contained in:
parent
5c089f1b7c
commit
de8d102bc8
@ -91,7 +91,7 @@ - (NSArray *)layoutAttributesForElementsInRect:(CGRect)rect {
|
|||||||
- (UICollectionViewLayoutAttributes *)layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath {
|
- (UICollectionViewLayoutAttributes *)layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
NSNumber *minYOfColumn = @(0);
|
NSNumber *minYOfColumn = @(0);
|
||||||
NSArray<NSNumber *> *keys = self.columnHeightInfo.allKeys;
|
NSArray<NSNumber *> *keys = self.columnHeightInfo.allKeys;
|
||||||
NSArray<NSNumber *> *sortedKeys = [keys sortedArrayUsingComparator:^NSComparisonResult(NSNumber * obj1, NSNumber *obj2) {
|
NSArray<NSNumber *> *sortedKeys = [keys sortedArrayUsingComparator:^NSComparisonResult(NSNumber *obj1, NSNumber *obj2) {
|
||||||
return [obj1 intValue] <= [obj2 intValue] ? -1 : 1;
|
return [obj1 intValue] <= [obj2 intValue] ? -1 : 1;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ @interface DoricFlowLayoutNode () <UICollectionViewDataSource, UICollectionViewD
|
|||||||
@property(nonatomic, copy) NSString *onScrollFuncId;
|
@property(nonatomic, copy) NSString *onScrollFuncId;
|
||||||
@property(nonatomic, copy) NSString *onScrollEndFuncId;
|
@property(nonatomic, copy) NSString *onScrollEndFuncId;
|
||||||
@property(nonatomic, strong) DoricJSDispatcher *jsDispatcher;
|
@property(nonatomic, strong) DoricJSDispatcher *jsDispatcher;
|
||||||
@property(nonatomic, assign) NSUInteger loadAnchor;
|
@property(nonatomic, assign) NSInteger loadAnchor;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation DoricFlowLayoutNode
|
@implementation DoricFlowLayoutNode
|
||||||
|
Reference in New Issue
Block a user