Swift: Recreating AppStore - Horizontal Scroll Direction UICollectionView (Ep 1)

Опубликовано: 18 Март 2016
на канале: Lets Build That App
81,722
1k

Today, we'll be looking at recreating the Apple AppStore application. And in doing so, we'll be able to take your iOS development skills to the next level by teaching you techniques to scroll horizontally in your cells.

Twitter Slide Out Menu Course
https://www.letsbuildthatapp.com/cour...

Podcasts Course
https://www.letsbuildthatapp.com/cour...

Intermediate Training Core Data
https://www.letsbuildthatapp.com/cour...

Instagram Firebase Course
https://www.letsbuildthatapp.com/cour...

Facebook Group
  / 1240636442694543  

Source code:
https://www.letsbuildthatapp.com/cour...

At the same time, we promote code separation and modularity within our classes. Thus leading to easier code maintenance in the future.

We first start by deconstructing the somewhat complicated layout of the final product, and build a simple collection view with 3 black horizontal cells.

Next we add a collection view inside of these 3 cells. Afterwards, we make this new collection view return 5 horizontal cells.

Finally, we establish our app icon imageview, title, category, and price labels inside these smaller cells.

Stay tuned for the next tutorial in which we will use a REST API to dynamically change each app icon to something meaningful.