Swift: AppStore - UICollectionView Headers and Cell Subclassing

preview_player
Показать описание
Today, we will complete the implementation for the main screen of the App Store. Because we are clever, we will be reusing our cell classes by subclassing to avoid rebuilding a lot of code. Lastly, we learn about UICollectionView Header's and how to generate one.

Twitter Slide Out Menu Course

Podcasts Course

Intermediate Training Core Data

Instagram Firebase Course

Facebook Group

Furthermore we apply some refactoring to our JSON parsing code to integrate the banner header.

Source Code:

(Part 1) Swift: Recreating the App Store:

(Part 2) Swift: AppStore - Integrating REST API, JSON, and Model Objects:
Рекомендации по теме
Комментарии
Автор

Best iOS tutorials on the internet by far. Your organised code and precision amazes me every single video. Keep up the amazing work!

oandkfjfjjwidjn
Автор

Seriously, I get a bitter sweet feeling from watching your videos. They are great and informative, but you are so good, makes me realize how much I still need to learn. Great job!

carchair
Автор

amazing challenge to transform the parsing from AppCategory to featuredApps in the JSON-SWIFTY assistance.

The idea of passing a comprehensive objective that encapsulates banners and categories/app in one object.

thank you so much Brian for the step by step explanation!

albaqawi
Автор

Really thanks for all your Videos, I will tell everyone in my university to just skip every other online courses and just stick to your channel.
Really really thanks buddy.
You are awesome.

mosaeedi
Автор

its really the best turtorial for the beginner, thk for your video

duongtruong
Автор

Thanks Brain for making these tutorials. They are helping me a lot . Please do some videos on handling stack views.

rishabkumar
Автор

The cell subclassing was neat. It seems a little abstract when dealing with the storyboard and having multiple prototype cells for one collection view. I'm assuming I'd have to use several xib files?

Good job on these tutorials, I learn so much.

ronborneo
Автор

This one is quite difficult for me, probably due to my lack of experience with networking and Swift language, especially that dispatch_async handler thing.. But still insightful and I picked up a lot! Thank you!

thinkoreans
Автор

Hi Brain! Thank for wonderful tutorial. I have been coming with doubt about uicollectionview header (banner section), which i don't it to be scrolled because i want to make it static. for the other collectionviews below should be scrolled as usual. Can you tell me? thank for reply

visalsambo
Автор

GOOD job buddy! Been sitting around and watch tons of youtube material, first time ill ever write an comment swell! Subscribe straight away! Are there any chance i can ask you a question, I have an collectionview that when segue need to show another collectionview of the pictures. (collectionview library -> collectionview 20 pictures -> UIImageview). All the videos here is just collectionview 20 pictures -> UIImageview. They skip the library part. If you have any tips or any related videos to share I'm would be more than happy!

josefsantamaria
Автор

You mentioned that your source code would explain how to make the apps snap upon scrolling. I couldn't find that feature in the source code... but would really like to implement it in one of my apps.

MissaMelodica
Автор

How to create automatic scrolling just like in actual app-store without user interacting with the view. If you see in app-store, the topmost cell with 6-7 delays move away from the screen and this is repeated for every image.

nomads
Автор

Hi,

I have few queries related to UICollectionViews supplementary views. Can you please clarify

1. When there is more data to load from server into collectionView i am using to show the UIActivityIndicator. My question is how to hide this footer/header UICollectionReusableView's when the data is loaded or when no data is found.
2. If this is not the correct place can you suggest which is the best place to add UIActivityIndicator.

Scenario i need to add the UIActivityIndicator is when i scroll to top or scroll to bottom

mpasum
Автор

Hey Brian, I've checked out your source code for the snap to cell code and the tab bar at the bottom but can't seem to find it in the code?

Daniel-szlq
Автор

How to make cell auto slider like app store Please.

kritbovorntaweeyossak
Автор

Sir i wanted to pass json data to only the header but I dont know how to do can some help

sanjayravi
Автор

Love your videos, but could you please slow down a little

Zakawaka
Автор

How would you go about building that same type of layout (with horizontal scroll views) but also with sections that use another layout structure (that not will be able to subclass the typical cell, as you did)? Please see the intended design here:


At bottom it will be a two column thumbnail grid. Would really appreciate your guidance!

Arekidever