Image picker and activity view controller in iOS apps are commonly used but in swiftui we have to implement them using the UIViewControllerRepresentable protocol. In this video, we will learn why is that the case and how we can implement these two controllers along with some good practice that can help us write clean code in SwiftUI.
If you are new to swiftUI and want to start from the basics then I would recommend looking at the SwiftUI playlist in Hindi for beginners and experienced developers
Link: • SwiftUI Combine hindi tutorials for b...
Given are the chapters covered in the video
0:00 introduction
0:13 Topic demo
0:18 Why use UIViewRepresentable and UIViewControllerRepresentable
1:39 Adding privacy permission in plist
2:19 UIImagePickerController implementation
5:13 UIImagePickerController delegate implementation
6:30 Adding the coordinator class
9:18 Why we used nested class
9:51 environment variable
11:44 UIActivityViewController implementation
14:21 sheet placements
14:59 conclusion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
🔗Click on the link to subscribe: https://www.youtube.com/c/codecat?sub...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Given are some of the links that I spoke of in the video
State property wrapper: • @State property wrapper in swiftUI | ...
Search bar implementation: • SwiftUI search bar example using UIVi...
Environment list apple dev documentation: https://developer.apple.com/documenta...
-----------------------------------------------------------------------------------------------------------------------
📥 Download the source code from
Github: https://github.com/codecat15/Youtube-...
Google Drive: https://drive.google.com/file/d/103H8...
-----------------------------------------------------------------------------------------------------------------------
############################################
Connect with me on social media
📷: / codecat15
📧: codecat15@gmail.com
🐦: / codecat15
Facebook: / code.cat.792
Github: https://github.com/codecat15
###########################################
#imagePickerSwiftUI #UIImagePickerController #SwiftUIHindiExample
Auf dieser Seite können Sie das Online-Video UIImagePickerController and UIActivityViewController example SwiftUI Hindi tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Cat 24 Januar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,939 Mal angesehen und es wurde von 75 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!