iOS 13 Swift UI Tutorial: Use UIKit Components with Swift UI with UIViewControllerRepresentable

preview_player
Показать описание
Learn how to use the iOS ImagePicker with Swift UI using UIViewControllerRepresentable and Combine. In that process you will build a simple UI for choosing a profile image e.g. for a sign up screen.

More about property wrappers and passing data between views:

🛒 GAME DEVELOPMENT COURSE - JUST $20 🛒

✉️ COMMENTS ✉️
If you have questions about the video or Cocoa programming, please comment below.
#swift #swiftui #swiftlang #iosdev
Рекомендации по теме
Комментарии
Автор

Really great video, Brian: One thing I stumbled across, though. If you want to save that image to e.g. Firebase (of course after the use has seen and confirmed thought), you actually need the UIImage in the SwiftUI View. So instead of publishing an Image, I would publish the original UIImage and only turn it into an Image when presenting it in the view.

marcfelden
Автор

Hi Brian nice tutorial I am wondering how can save the images after the picking ?

alonsojosearanapisconti
Автор

Hi Brian. How do I pick multiple images at once like whatsapp?

danishkhalid
Автор

I understand all the code, but could not write it by heart again, it has a steeper learning curve than I would have expected.

robinandthedog
Автор

So much work, Will this also work for collectionview?

judy
Автор

sir how can i pick videos from library like image picker

droid
Автор

I noticed your game dev course hasn't been updated for 2 years, that being said does the code still work or is it really out of date ? Also is there a way to store location of sprites based off their position on a grid based background ? I want to create basically a match game replica and I would like to use the " background grid" to determine the position of each sprite to check for a match.

RatherBeCancelledThanHandled
Автор

Can I use multiple ImagePicker on the same page?

oSevenTV_
Автор

Brian! Great tutorial! Do you have a business email we could reach you at?

steerlyfe
Автор

When are you going to upload a new video?

lawrence
join shbcf.ru