In this Swift tutorial I discuss the topic of refactoring all that boilerplate UIAlertController code out of your UIViewControllers. This will make your code much more readable, and keep those UIViewControllers small.
As I mention in the video, there are many ways to refactor UIAlertControllers. If you prefer it another way, please leave a comment to let the community know.
Source Code:
https://www.dropbox.com/sh/mpt8c3neqrnt8wy/AAANZj5CdTDgRZI_2f0rlucua?dl=0
iOS Dev Courses:
https://seanallen.teachable.com/?video=ZBS2uRP6_2U
Twitter:
Sean Allen - https://twitter.com/seanallen_dev
Hired.com:
https://hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
Donny Wals - Combine:
https://gumroad.com/a/909014131
Mark Moeyken’s SwiftUI Books:
www.bigmountainstudio.com/swiftui-views-book/fzc51
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
https://gumroad.com/a/656585843
Ray Wenderlich Books:
https://store.raywenderlich.com/a/20866/link/1
#swift #softwaredeveloper #iosdeveloper