A look at the new SwiftUI feature

Phone screen
Phone screen
Photo by Dimitri Karastelev on Unsplash.


Image by free stock photos from www.picjumbo.com from Pixabay


Image by Firmbee from Pixabay


Photo by cottonbro from Pexels

Using pull to refresh


Code snippet screenshot highlighting the topic of the article, containing the implementation of a Button in SwiftUI with title “Send Email” and of a custom view modifier called email composer that demonstrates the final result of this post.
Code snippet screenshot highlighting the topic of the article, containing the implementation of a Button in SwiftUI with title “Send Email” and of a custom view modifier called email composer that demonstrates the final result of this post.


A woman hand holding an iPhone and taking picture of the table right under. On the table there is an open book, with eye glasses, coffee, a small decorative plant and decorative table cloth. On top of the image the AsyncImage in SwiftUI title is written, and SerialCoder.dev with small letters at the bottom.
A woman hand holding an iPhone and taking picture of the table right under. On the table there is an open book, with eye glasses, coffee, a small decorative plant and decorative table cloth. On top of the image the AsyncImage in SwiftUI title is written, and SerialCoder.dev with small letters at the bottom.
Credits: Photo by Ylanite Koppens from Pexels


An iPhone’s screen portion showing default email app icon among others.
An iPhone’s screen portion showing default email app icon among others.
Photo by Torsten Dettlaff from Pexels

Initial steps


A hands-on example


Image by ross ruby from Pixabay

Photo by Evy Prentice on Unsplash

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store