CollectionView Compositional Layout (Advanced Layouts) - Swift 5, Xcode 12, 2020 - iOS Development

  Рет қаралды 29,068

iOS Academy

iOS Academy

Күн бұрын

Пікірлер: 38
@ekkogaming5461
@ekkogaming5461 4 жыл бұрын
seen your website, big fan here! I hope you get the attention you deserve!
@roshanthapa25
@roshanthapa25 3 жыл бұрын
This was a good exercise for the brain, lol. Nice tutorial
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@gakkieNL
@gakkieNL 4 жыл бұрын
Great video! Gonna try and rebuild my current flow layout to a compositional layout!
@zanaeira
@zanaeira 3 жыл бұрын
This video is great, especially the debugging bit followed by summary. Any chance of more videos on Compositional Layout? In particular, going from design to code with the whole fractionalWidth/Height stuff...? :)
@tahasivrioglu9648
@tahasivrioglu9648 4 ай бұрын
Thanks a lot!I've learned a lot of things 😀
@garyhope17
@garyhope17 7 ай бұрын
great video tutorial, keep it up!
@iOSAcademy
@iOSAcademy 7 ай бұрын
Thanks, will do!
@MrMarinner
@MrMarinner Жыл бұрын
Perfect congratulations for the video
@iOSAcademy
@iOSAcademy Жыл бұрын
Thanks
@ghaithali7286
@ghaithali7286 3 жыл бұрын
This is amazing thank you!!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcone
@mscitmadras
@mscitmadras 4 жыл бұрын
Can you make one with multiple sections with different layout, and making one section show or hide based on the selection of cell from the above section...
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Multiple section version coming soon :)
@mscitmadras
@mscitmadras 4 жыл бұрын
@@iOSAcademy thank u..
@mak_whisk
@mak_whisk 3 жыл бұрын
Thank you!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@sammusso8073
@sammusso8073 3 жыл бұрын
If i want to use a tab bar controller with a collection view in the content view, should I embed a container view in the content view and set the child of the container view to a collection view controller? or should I straight define a collection view controller in the content view of the tab bar controller? note: I would like to use a diffable data source for the collection view controller.
@cem890
@cem890 4 жыл бұрын
Hi. Can you make a video about collectionView auto slider.There are only 1-2 videos that have been broadcast.It can be watched more than you think. :)
@darkodujmovic8776
@darkodujmovic8776 2 жыл бұрын
You should have used .fractionalHeight(1/3) and .fractionalHeight(2/3) because if you were to use .fractionalWidth the groups take the size of the section and layout wrong (overlaping) - but good video, thanks !
@guillermomatosuc9740
@guillermomatosuc9740 Жыл бұрын
How does the height of the group gets genereted?
@AntonBrock
@AntonBrock 3 жыл бұрын
If it run on small iPhones doesn't break groups and layout?
@eliaserbenjamin6892
@eliaserbenjamin6892 4 жыл бұрын
Great video man, thumbs up. I am working on a project, but once I set collection view layout to such as the one you did in video, my collection view header doesn't show. But if I use UICollectionViewFlowLayout, the header shows. What do you think is the problem bro?
@eliaserbenjamin6892
@eliaserbenjamin6892 4 жыл бұрын
Solved it. Had to add; header = NSCollectionLayoutBoundarySupplementaryItem( layoutSize: headerSize, elementKind: UICollectionView.elementKindSectionHeader, alignment: .top)
@eliaserbenjamin6892
@eliaserbenjamin6892 4 жыл бұрын
In your final product, there's some insets missing after every triplet items, I tried but to solve it but couldn't. How do change that? Thanks.
@iOSAcademy
@iOSAcademy 4 жыл бұрын
You need to add contentInsets to each item and section element. I forgot to do this before I ended the video :)
@MrMotoxify
@MrMotoxify 3 жыл бұрын
Can you do a video about Waterfall CollectionViews? Love your Content!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Sure thing!
@paonej4033
@paonej4033 2 жыл бұрын
Can you share the code?
@TheBitterlove
@TheBitterlove 3 жыл бұрын
I think your content is really good but I still get lost a little bit when you start playing around with the compositional group (minutes 15). You should draw the final result you need for the audience. So, we could follow up easier.
@theheavenlymanna1097
@theheavenlymanna1097 3 жыл бұрын
Hi. Is there a way I can get code for this tutorial ? Very Well explained. But I would like to have code with him for future reference.
@ANILKUMAR-vv1fz
@ANILKUMAR-vv1fz 4 жыл бұрын
Can You Please Share Code
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Its on github for channel members
@ANILKUMAR-vv1fz
@ANILKUMAR-vv1fz 4 жыл бұрын
Iam The Joiner of Ios Acamedy . How To get Code
@tridaynee
@tridaynee 4 жыл бұрын
we need resource image
@Frank-mn1kc
@Frank-mn1kc 3 жыл бұрын
lmao ur demo proves how horribly Apple design this compositional thing. The demo is pretty good though, thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
I Helped 2,000 People Walk Again
15:31
MrBeast
Рет қаралды 25 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
UICollectionViews in iOS with Compositional Layout
15:25
Sam Meech-Ward
Рет қаралды 7 М.
iOS Dev 11: CollectionViews | Swift 5, XCode 11
15:50
Emmanuel Okwara
Рет қаралды 39 М.
SWIFT Уроки: Compositional Layout - Основы(item, group, section)
50:21
Сергей Горбачёв / cmd+B, cmd+R
Рет қаралды 6 М.
31 Xcode Tips & Tricks - 2023
17:45
Sean Allen
Рет қаралды 42 М.
Крутая карусель через UICollectionView
26:20