SwiftUI Custom Views

These are notes I’ve taken while watching the video of the corresponding session. They don’t have all the information contained in the video, but I’ve tried to still write the main points for my personal use cases.

SwiftUI views are composable. You can pull out a view into a different struct so all of your code is neatly organized.

List acts as a tableview, ForEach instead only loops and you can return whatever custom view you want yourself.

20 lines to have a lot of functionalities. Would have taken hundreds of lines with UIKit/AppKit.


Valentino Urbano

iOS Developer, Swift, Writer, Husband

Back to Overview