1

I want to know how to create a horizontal scroll view in Swift. I also want to know how to add buttons to the scroll view. An excellent example of what I'm essentially asking for is in the game "Cut the Rope."

enter image description here

In the picture you're presented with a picture (which you can click on) of a "fabric box." There are other different types of boxes that, with scrolling, you can access them. How would I do something similar to this?

Léo Natan
  • 56,823
  • 9
  • 150
  • 195
Nick
  • 43
  • 4
  • 1
    Have you taken a look at [UICollectionView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionView_class/)? It seems like this would be perfect, with reusable cells that look similar – Daven Jun 23 '16 at 00:13
  • 1
    check this : http://stackoverflow.com/questions/37636652/uicollectionview-custom-horizontal-paging-layout/37638974 – Mohamed Mostafa Jun 23 '16 at 01:21
  • @MohamedMostafa Thank you so much That helped a ton! – Nick Jun 23 '16 at 02:58
  • Your tags already indicate that you are using Swift. No need to add it to the title. – Léo Natan Oct 21 '16 at 18:28

0 Answers0