SwiftUI Collection View 2019 - Scrolling List in Swift UI - Xcode 11 SwiftUI Tutorial

preview_player
Показать описание

have you googled: how to use collectionview with swiftui? or swiftui collection view? Or scrolling list swiftUI? Well, this video is the answer to those questions! In this video, you will learn how to create a layout in SwiftUI that mimics a UICollectionView.



#swiftui #collectionview #xcode11
Рекомендации по теме
Комментарии
Автор

When I do the ForEach(boxes.identified(by: \.id)) {box in BoxView(box: box) I get an error "Value of type '(Box)' has no member 'identified'
all the other code looks identical to yours. The word identified doesn't come up in the selection when I type boxes.identified
Thank you

francismcleod
Автор

The problem with your implementation is that this a scrolling list which isn't queue / dequeueing the cells, if you do this for let's say 300 items with images and such, you're going to run into issues... this might be misleading in my opinion.

thomasengland
Автор

Will the items be recycled? if I have 500 items for instance, will they all be loaded or only those who are visible?

IamTheGreatCornholioo
Автор

This is awesome. Question. How would you make a game like taboo or heads up in swift UI. I ask because that would require a huge database of game info.

aideh
Автор

Awesome video. Though is it possible to make another list underneath a list you have already? also, is it possible to make a video or update the website to make it so that each box could be used as a button to do something else. thx

sujal
Автор

Can you make it work with multi direction scrolling with sticky headers for the X and Y axis like UICollectionView in swift

pickemparty
Автор

That's a very good approach for explaining courses, by showing step by step with the text...maybe the BEST WAY today... good job👍

m__link
Автор

Thanks for the video, Max. Can you do one with SwiftUI saving data through Realm Database, Cloud Kit, Firebase and/or saving to the phone in general. Thanks.

postmd
Автор

Nice tutorial. Gets me a little closer in the direction I want to go but my aim is to build a calendar using SwiftUI as I need it for an app that I’ve been brainstorming and it seems to be the feature that’s going to give me the most headache, especially considering I’m relatively new to programming.

eyehf
Автор

Hi Max, I'm looking to create a "week view" for a calendar using ScrollView and HStack. So far so good, the first week looks good, but I need to drag (left-or-right) and load the previous or next week. Do you know if it's possible to achieve the same effect as in the "Activity" app or in Outlook using SwiftUI?

andreivladmatei
Автор

Hello thanks for the video ... but how to make the images clickable so that I can navigate to a detailed view controller ...

aniruddhaJUMCA
Автор

Great video! When will you upload the what’s on my iPhone video?

bencohen
Автор

Can you please make a video on UIPageMenuController with Swift UI?

sanjuju
Автор

Could you do a video where, each of those leads navigates to its own data content like a list?

tomtucker
Автор

This great stuff! Could you make a tutorial using SwiftUI with mapkit and dropping pins on the map that are saved in the app? Thanks!

JelaniMcCoyHD
Автор

A table view with collapsible headers (sections) with deleting rows enabled, I tried my best and couldn't get it to work and no videos or articles implementing this! although it's very common to need that!

محمدبنسراجالدين
Автор

Can you please add reordering images as we do by collection view ?

angvm
Автор

Shouldn't box be @Binding in BoxView?

ImTheShrey
Автор

Great video. Could you please explain why \. is used in code identified(by: \.id)?

raimitis
Автор

Great Video! But by now I have not seen any video which explains how to implement Firebase in Swift UI. Could you do it?

yoanbele
welcome to shbcf.ru