Thursday, 15 August 2013

UICollectionViewFlowLayout Subclass Not Working?

UICollectionViewFlowLayout Subclass Not Working?

I have a UICollectionView and I want to align all the cells to the left so
that they are evenly spaced.
I have used Chris's solution from the following question, created a new
subclass, copy and pasted the code into the .m file and then imported the
subclass into the class which contains the CollectionView.
However, the cell's don't move. Have I missed a step to do with
subclassing? Or is it something else?
Thanks.

No comments:

Post a Comment