lequysang/TestCollectionViewWithXIB

What if you want two UICollectionViewCell in same XIB

Opened this issue · 0 comments

I know my question is odd but I have done it in UITableView so want it for UICollectionView also.

In my app I want to use one UICollectionViewCell xib class for both iPad and iPhone and for this I created two UICollectionViewCell in my itemCell.xib (just a name). You can check this screen here: http://s16.postimg.org/mbf3e9hqd/Screen_Shot_2016_04_08_at_4_53_57_PM.png

How can I create it that one UICollectionViewCell will work for iPhone and other one work for ipad?