-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Review the following code , in the picker class , gives me 3 images if i select 6 in the block as you increasing the index twice in the loop
This is my code where i am having an issue
id callback = ^(NSArray * images){
};
// Prepare result
NSMutableArray * result = _mediaInfos;
if (!_returnMediaInfoMode)
{
result = [NSMutableArray arrayWithCapacity:_mediaInfos.count];
for (NSUInteger index = 0; index < _mediaInfos.count; index++)
{
[result addObject:((NBUMediaInfo *)_mediaInfos[index++]).editedImage];
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels