Search code examples
iosobjective-ccellcollectionviewpstcollectionview

How can i highlight selected cell's in PSTCollectionview?


Iam using PSTCollection view for grid layout so it will support iOS 5.0 onward ,but when i click one cell its working fine .Iam trying to implement a selection effect like a glow border on selected cell so it will increase user experience.Any one know how to do it in PSTCollectionview?


Solution

  • - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
    {
        CustomCell *customCell = (CustomCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"CustomCell" forIndexPath:indexPath];
    
        //TODO: Customize your cell here
    }