Announcing Mastering SwiftUI
We have just launched our new book – Mastering SwiftUI. As introduced to you earlier, this book teaches you how to build UIs and iOS apps with Apple’s brand new UI framework. It is written for both beginners and...
SwiftUI Tip: How to Create a Card View with Stacks
In this tutorial of our SwiftUI Tip series, we are going to implement a common mobile UI design usually known as Card UI. The SwiftUI framework has made building app UI a breeze. Later, you will see that by using stacks, image,...
SwiftUI Tip: ButtonStyle and Animated Buttons
Earlier, I gave you an introduction on SwiftUI button, let’s dive a little bit deeper and see how to create a custom button style and animate a button. This is a follow-up tutorial on the beginner’s guide to SwiftUI...
SwiftUI Tip: How to Create a Context Menu in iOS 13
Earlier, Apple officially released iOS 13 to the public. Apart from dark mode and other new features, the latest version of iOS also introduces us a new way known as Context Menu to interact with the device. A context menu is...
SwiftUI Tip: Drawing a Border with Rounded Corners for Buttons and Text
With SwiftUI, you can easily draw a border around a button or text (and it actually works for all views) using the border modifier. Say, for example, you want to create a button like this: We can apply the border modifier on a...
A Beginner’s Guide to SwiftUI Buttons
I don’t think I need to explain what a button is. It’s a very basic UI control that you can find in all apps and has the ability to handle users’ touch, and trigger a certain action. If you have learned iOS...
How to Preview Your iOS Apps in Dark Mode Using Xcode 11
Earlier, Apple dropped the first beta of iOS 13 to the public. For a general user, dark mode is definitely the biggest visual change in this release. By flipping an option in Settings, iOS makes everything dark! In dark mode, the...
How to Build a Form UI with SwiftUI
In the introductory tutorial, we gave you an overview of SwiftUI and walked you through how to build a simple user interface. After exploring the framework for around a week, I really enjoy developing user interface with SwiftUI,...
How to Resolve “Couldn’t instantiate class named WKWebView” Error When Using WebKit
I got a question from a reader about the following error when using WKWebView in storyboard: Could not instantiate class named WKWebView because no class named WKWebView was found; the class needs to be defined in source code or...
Our Swift Books and Course are Updated for iOS 12, Swift 5, and Xcode 10
Our flagship course – Beginning iOS 12 Programming with Swift, which is now fully updated for Xcode 10, Swift 5, and iOS 12. As always, whether the course is delivered through eBooks or video tutorials, it is designed for...