Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

Expanding a cell taking time #47

@tapan-nathvani

Description

@tapan-nathvani

in this method
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:
(NSIndexPath *)indexPath {
if (self.exposedItemIndexPath && indexPath.item == self.exposedItemIndexPath.item) {
self.exposedItemIndexPath = nil;
}
else {
NSLog(@"Hello1");
self.exposedItemIndexPath = indexPath;
NSLog(@"Hello2");
}

when i am assigning exposedItemIndexPath its taking almost 5 to 6 seconds to expand a cell.

Can you please help me to improve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions