Group Group Group Group Group Group Group Group Group

Swift Expanding Cells in iOS Collection Views | Ray Wenderlich

Learn how to make expanding cells as in the Ultravisual app in this tutorial on collection views.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/99087/swift-expanding-cells-ios-collection-views

Hi,

I’m following your article and it’s all went well but I’m experimenting on how to make the collection view horizontal, I have change *UltravisualLayout* sub class from UICollectionViewLayout to UICollectionViewFlowLayout, and change scrollDirection = .horizontal in prepare(). But when I build and run the collection view is still vertical

How can I achieve that?