Search code examples
iphoneiosobjective-cxcodepstcollectionview

How to use PSTCollection for iOS5, in a subview?


Currently I'm developing iOS app for iOS5, using storyboard. I have a view controller, in that view controller I have three views. I wan't my first view to use PSTCollection/UICollectionView but my iOS version is 5 so UICollectionView is out. How should I get to include a PSTCollectionView in the first view? I had tried to follow the example but I just doesn't get there at all. And the only example using storyboard: CollectionView-Simple unable to build because they are using UICollectionView.

Any idea? Any help will be much appreciated.


Solution

  • UICollectionView and PSTCollectionView are completely compatible, except that the class names are different. Do a find and replace on class names, and nearly all UICollectionView examples will work.