This is not so much a question as an explanation of how to solve this problem.
The first thing to understand is that UICollectionView inherits from UIScrollView , so the best solution is to use a standard search with a scroll list.
Here is the problem I was handling:
I had a UICollectionView that had different elements in each cell - along with different types of cells. I need a cell selection to trigger the effect of the image in the cell so that it expands and captures the entire screen. Like I did an extension for another post.
The task was to get the position of the cell on the screen so that the animation section had a control point from where to start.
So, to make it easier to get this information, consider the following code:
First note:
UICollectionView *picturesCollectionView; DrawingCell cell;
Hope this helps other people trying to figure out how to say, lay something on the cell in the exact place, etc.
ios uicollectionview uicollectionviewcell
Joe Jupin Feb 06 '13 at 19:28 2013-02-06 19:28
source share