Using Markdown in SwiftUI
Other than all the big features such as AsyncImage and searchable, the iOS 15 SDK also introduced some minor improvements to streamline the development of iOS apps. In this tutorial, we will show you how to use Markdown in...
Intermediate iOS Programming with Swift is Now Updated for iOS 15 and Xcode 13
This intermediate book (over 950 pages) uses a problem-solution approach to teach you Swift programming and covers some of the common APIs provided by the iOS SDK including Core ML and ARKit. The book and the source code bundled...
Swift Playgrounds 4: Building a Text to Speech App Entirely on iPad
In WWDC 21, one of the announcements that caught my attention was the massive changes of Swift Playgrounds. Not only can you learn Swift using Playgrounds, the new update allows developers to create apps entirely on iPad and...
Mastering SwiftUI is now updated for iOS 15 and Xcode 13
We’ve just released an update for our SwiftUI book – Mastering SwiftUI. All the content including screenshots and source code are updated for Xcode 13 and iOS 15. On top of that, we added new chapters to cover...
Using SwiftUI and WidgetKit to Make Your App Content Indispensable
By using a combination of SwiftUI and WidgetKit, you can increase the visibility of your app’s content and enhance the user experience by placing one or more “widgets” on the user’s iOS Home screen, macOS...
SwiftUI: How to Display Web Page Using WKWebView
It is very common that you need to display web content in your apps. The iOS SDK provides three options for developers to show web content: Mobile Safari, WKWebView, and SFSafariViewController. In iOS 14 (or later), the SwiftUI...
Announcing Beginning iOS Programming with Swift for iOS 15 and Xcode 13
After months of hard work, the new edition of our Beginning iOS Programming with Swift course for iOS 15 and Xcode 13 is now officially launched. In addition to updating our course for iOS 15 and Xcode 13, this new update comes...
How to Create Animated Gradients in SwiftUI
I recently got a question from a reader about how to animate gradient or create an animated gradient background using SwiftUI. The SwiftUI framework provides a number of built-in components such as LinearGradient and...
How To Style SwiftUI Buttons in iOS 15
In iOS 15, Apple introduced a new way to customize buttons in iOS apps for both SwiftUI and UIKit frameworks. While this tutorial focuses on the new features of SwiftUI, you can refer to this fantastic article, written by Sarun,...
How to Share SwiftUI views Using Swift Packages
In the earlier tutorial, we created an animated menu bar in SwiftUI. What if you want to reuse the code in other projects? Of course, you can copy & paste the code from one project to another but there is a better way to...