SwiftUI — Quick Start Guide

SwiftUI

SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs. With a declarative Swift syntax that’s easy to read and natural to write, SwiftUI works seamlessly with new Xcode design tools to keep your code and design perfectly in sync. Automatic support for Dynamic Type, Dark Mode, localization, and accessibility means your first line of SwiftUI code is already the most powerful UI code you’ve ever written.

Do you have 🤔 ?

Please make sure you have macOS 10.15 installed alongside Xcode 11. This combination allows you to see your SwiftUI designs previewed right inside Xcode, which is significantly faster than pushing to the simulator all the time.

Follow the steps below 👇🏻,

Step 1: Open Xcode and either click Create a new Xcode project

Step 2: In the template selector, select iOS as the platform, select the Single View App template

Step 3: Select the Use SwiftUI checkbox

Step 4: In the Project navigator, click to select ContentView.swift

Catch you again with Sample project on SwiftUI. 😎✌️🏻

Cheers ;) 🍻

 iOS Developer @nfnlabs, Chennai. Here to share best practices learned through my experience. Reach me on https://www.linkedin.com/in/ashokkumar-b-26026913a/

 iOS Developer @nfnlabs, Chennai. Here to share best practices learned through my experience. Reach me on https://www.linkedin.com/in/ashokkumar-b-26026913a/