How to build a UICollectionView like the App Store

How to build a UICollectionView like the App Store

Paul Hudson

4 года назад

41,622 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Just Ave0n ~ Recruiter
Just Ave0n ~ Recruiter - 18.09.2023 23:01

Once again the super zoom is driving me crazy

Ответить
Elif Bilge Parlak
Elif Bilge Parlak - 15.08.2023 14:23

Hi Paul, I hope you can see this. If you can add the pre code so we can build with you. That would be amazing!

Ответить
Avazbek Olimov
Avazbek Olimov - 28.01.2023 12:55

amazing video thanks for such valuable masterclass videos!!!!

Ответить
Đức Thành Nguyễn
Đức Thành Nguyễn - 13.04.2022 11:23

How can I get appstore.json. Can you give me the source please. Many thanks

Ответить
Nick Pappas
Nick Pappas - 02.04.2022 07:50

fantastic video. thank you

Ответить
Andrew Christie
Andrew Christie - 07.03.2022 19:32

Pretty useful video, I like what's going on here

Ответить
Michael Utech
Michael Utech - 18.02.2022 13:37

Paul, I positively admire your presentation skills. This is so to the point, clear, informative, vivid. I know how much work it is to prepare such a tutorial, what you do looks so utterly effortless and casual. Please make tutorials on how to make tutorials! ;-)

Amazing!

Ответить
сергей мишунин
сергей мишунин - 22.07.2021 23:24

thanks a lot!

Ответить
Rasheed m
Rasheed m - 03.07.2021 03:44

Amazing ♥️

Ответить
선한이웃
선한이웃 - 13.03.2021 01:05

Thanks you it inspires me to do something new

Ответить
Karl Jay
Karl Jay - 20.02.2021 07:49

It would be interesting to compare the exact same thing done with SwiftUI, just to see how they compare. I know some have done things like this already in SwiftUI, just gotta find one.

Ответить
Shruti Sharma
Shruti Sharma - 03.02.2021 02:08

Can someone please tell me how to decide the estimated height magic number? When I tried to build this myself, I used a different number and my layout didn't turn out to be like the finished app. And I started to think my constraints in the cell might be wrong. Any help would be appreciated. Thanks.

Ответить
watch it
watch it - 28.12.2020 04:55

"these folks deserve our appreciation and love" ))

Ответить
Uday Babariya
Uday Babariya - 15.12.2020 09:07

Hey Paul , excellent things you are providing.. :)

can you suggest me anything for my doubt?
I have build collection view using UICollectionViewCompositionalLayout and UICollectionViewDiffableDataSource.
I am trying to scroll collectionView on particular index of NSCollectionLayoutGroup on didSelect of any cell of collectionView, but not able to scroll.

Ответить
Liam Blackburn
Liam Blackburn - 18.11.2020 20:17

can you make a video on how to do a get json request from online rather than the file cheers. Video is amazing btw

Ответить
Rudolf
Rudolf - 18.10.2020 11:43

Awesome tutorial!

Ответить
Elangovan Rajendran
Elangovan Rajendran - 10.10.2020 22:13

Simply amazing..

Ответить
Aaron Likov
Aaron Likov - 14.09.2020 22:46

U are the best!

Ответить
DANIEL
DANIEL - 02.09.2020 00:37

I wish there was a tutorial like this for Objective-C! My boss is making us use that instead of Swift :(

Ответить
Raj Dhakate
Raj Dhakate - 17.08.2020 13:14

how can i make the same thing for ios 10?

Ответить
-engin
-engin - 08.07.2020 15:39

Great video, thanks. What's the best way to present new views by tapping items in your code ?

Ответить
The Swiftlander
The Swiftlander - 06.07.2020 23:52

Oh my gosh... Nice tutorial and the woman in the meme pic is a Brazilian actress lol 😂

Ответить
ABIR HASAN ZOHA
ABIR HASAN ZOHA - 05.07.2020 07:25

the corner radius for FeaturedCell's Imageview is not working as expected. can you please explain why?

Ответить
Shailesh Chandavar
Shailesh Chandavar - 04.07.2020 22:38

You nailed it Paul, You connected all dots together. Kudos :👍🏻👍🏻👍🏻👍🏻👍🏻

Ответить
Don Warren!
Don Warren! - 25.06.2020 14:48

Is there any ways to do this with the new Swift UI update?

Ответить
Anthony Junior
Anthony Junior - 22.06.2020 02:52

Great video Paul. Would be amazing to see v2 of this where you use self sizing cells etc rather than hard coding the heights

Ответить
arvinq
arvinq - 17.06.2020 05:58

not the biggest fan of stackviews, but the way you use it here, its awesome. and thank you for this amazing tutorial!

Ответить
Multitudes
Multitudes - 13.06.2020 18:57

mind blown!

Ответить
abhishek kumar thakur
abhishek kumar thakur - 25.05.2020 19:17

Awesome video thank you Paul

Ответить
Edwin Creator
Edwin Creator - 25.05.2020 17:10

thank you so much for the tutorials

Ответить
Savage Killer
Savage Killer - 13.05.2020 20:14

i tried if indexpath.section ==0 {
Same data for all sections I’d be so grateful if you help to store different data for each section and item idk if you got the idea

Ответить
Carlos Damião
Carlos Damião - 11.04.2020 02:14

Amazing video Paul! That barely relates to what I do with Collection Views. Will definitely see the WWDC talks you suggest and clone your git repo. Thanks a bunch man, your content is priceless!

Ответить
Ten Minute Tokyo 2
Ten Minute Tokyo 2 - 15.03.2020 06:25

DOOD!

Ответить
Christos Tsangaris
Christos Tsangaris - 13.03.2020 09:20

Do you even use autocomplete in xCode??

Ответить
Sandeep Singh
Sandeep Singh - 06.03.2020 12:50

Simply amazing...Thanks Paul

Ответить
Ten Minute Tokyo 2
Ten Minute Tokyo 2 - 01.03.2020 22:03

DOOD!

Ответить
Ramy
Ramy - 27.02.2020 16:50

a video like this come only from Paul Hudson, no one else can put so much knowlge in 50 minutes, Thanks Paul.

Ответить
Gakkie Gakkienl
Gakkie Gakkienl - 19.02.2020 17:40

I've added a small extension to the protocol:


extension SelfConfiguringCell {
static var reuseIdentifier: String {
return String(describing: self)
}
}


This way we can omit to set the reuseIdentifier manually for every cell that conforms to the protocol :)

Ответить
Gakkie Gakkienl
Gakkie Gakkienl - 18.02.2020 18:00

Thank you Paul! Excellent stuff. You really are THE source on Swift! Really appreciated!
EDIT:
I did find using type as a property of Section confusing (section.type vs Section.type). Took me a while to see that ...

Ответить
Kiss3s1314
Kiss3s1314 - 06.02.2020 22:38

Can I ask, lets say I want to let Section take in more than just let items: [App] but instead make it generic to let it take in [Games], [Person]... etc, how would one apply generics in this case?

Ответить
Dave Dempsey
Dave Dempsey - 21.11.2019 20:51

Does anyone know how to then use these imageviews to transition to other view controllers? I have created buttons instead but perform segue is not available from the Cell class. @Rebeloper any ideas?

Ответить
Atalay Asa
Atalay Asa - 04.11.2019 10:58

It is great tutorial thank you very much.

Ответить
Marcos Tanaka
Marcos Tanaka - 04.11.2019 05:18

Amazing! I'm about to refactor a section of my app that'll have a similar UI, and your video has helped me understand a lot of these new collection view APIs. Thank you!

Ответить
Hrvoje Baić
Hrvoje Baić - 25.10.2019 21:25

I'm a simple man, I see casting couch - I click the thumbnail

Ответить
Dmitry Novosyolov
Dmitry Novosyolov - 22.10.2019 23:06

Dear Paul I tried to replicate your project in SwiftUI using ScrollView... 
The only problem is that ScrollView does not have a Paging property... 
I also used some of your project materials... 
Thank you.

Ответить
Norm Norris
Norm Norris - 22.10.2019 06:51

Great video Paul. Any chance you can make a part 2 to this video that shows how to segue to a "detailed" view?

Ответить
Michael Bernat
Michael Bernat - 21.10.2019 13:41

Good and useful. Thanks!

Ответить
Shane Qi
Shane Qi - 20.10.2019 21:56

Very helpful content!

Question: do you know how to get the scrolling events of orthogonal scrolling?
I can use collectionView's delegate to get the scrolling events of scrolling vertically (as in the example in the video), but how can I get the scrolling events of scrolling horizontally (as in the first section of the example in the video)?

Ответить