A video on CollectionView Diffable Data Source as well. And then a video with a combination of Compositional Layout and Diffable Data Source in a single collection view
Great tutorial, thanks for that ! Question - If I fetch more images (like infinite scrolling) - do I need to call to createLayout again? or layoutIfNeeded?
Hi Emmanuel, Now the function of NSCollectionLayoutGroup: open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self is deprecated. And the new function open class func horizontal(layoutSize: NSCollectionLayoutSize, repeatingSubitem subitem: NSCollectionLayoutItem, count: Int) -> Self Doesn't yield the output as shown in the video. Can you replace your func and see the behaviour. Its totally different now. I think as per new func its our responsibility to adjust the layout size of item and feed the item in group. In your case to have count = 2 horizontally, we need to set the layout size width with fraction as 0.5 in NSCollectionLayoutItem.
it would be nice if you put the result of the work you're going to do before the work itself (when editing video) instead of showing it with fingers. It's just about what you can do better, anyway nice video, thanks very much!
This is first video of your channel, and i fall in love with your channel. such powerfull content and amazing explanation. thanks dude.😃
Thanks, Chandan
I appreciate the kind words 😊
Buddy, thank you so much. This is the best material on Compositional layout !
Excellent tutorial, loved every bit of it.
Felt like I was back in school, LOL.
Now I see Compositional Possibilities🚀🚀🚀🚀🚀🚀
“Compositional Possibilities” that’s a good one 😅
Thank you so much! It was much easier to understand with you explanation 🙏
I’m happy to hear it 😊
Thank you so much for your videos! You explain very very well))
Very easy to understand, thank you so much
A video on CollectionView Diffable Data Source as well. And then a video with a combination of Compositional Layout and Diffable Data Source in a single collection view
Diffable data source is actually on my list.
Video coming soon 😊
Hey thanks for the video. Why you create your helper as a struct not a class?
great explanation. thank you!
Love from , India . Thanks bro .
✊🇮🇳
Great tutorial, thanks for that !
Question - If I fetch more images (like infinite scrolling) - do I need to call to createLayout again? or layoutIfNeeded?
No. You create the layout one time and as your data changes, the list will be updated to follow the layout.
sir, I love your teaching ❤
hope all time you upload new video with new thing for us 😍
Thank you so much sir for give us your valuable time💕
Thank you so much for the kind words 😊
Nice bro, good luck
Thanks, bro 😊
why the change of alignment doesn't change scroll
Hi Emmanuel,
Now the function of NSCollectionLayoutGroup:
open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self
is deprecated.
And the new function
open class func horizontal(layoutSize: NSCollectionLayoutSize, repeatingSubitem subitem: NSCollectionLayoutItem, count: Int) -> Self
Doesn't yield the output as shown in the video. Can you replace your func and see the behaviour. Its totally different now.
I think as per new func its our responsibility to adjust the layout size of item and feed the item in group. In your case to have count = 2 horizontally, we need to set the layout size width with fraction as 0.5 in NSCollectionLayoutItem.
It would be good, if you did a video about what a junior iOS devs should know)
That’s a good one. I’ll add to my list
Thank you so much!
it would be nice if you put the result of the work you're going to do before the work itself (when editing video) instead of showing it with fingers. It's just about what you can do better, anyway nice video, thanks very much!
thank you man)
Sir how do you know what item is selected when creating multiple items wrapped in different groups ?
You’ll use the collectionview’s didSelectItemAt delegate method which will give you the index of the selected item.
magic is forbidden outside Hogwarts!
Is this a reference to Harry Potter? 😅
@@EmmanuelOkwara Yes) This looks awesome, probably illegal)))