-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Description
NSInteger positionToLoad;
GMGridViewCell *cell = [self newItemSubViewForPosition:positionToLoad];
[self addSubview:cell];
===========Whether should change to this?==============
NSInteger positionToLoad = 0;
GMGridViewCell *cell = [self newItemSubViewForPosition:positionToLoad < 0 ? 0 : positionToLoad];
[self addSubview:cell];
Metadata
Metadata
Assignees
Labels
No labels