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...
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...
Using MusicKit and Apple Music API to Build a Music Player
Hey everyone and welcome back to the second and final part of this tutorial series where we explore the intricacies of Apple’s MusicKit by building our very own music player in SwiftUI that can stream songs from our Apple Music...
Working with JSON and Codable in Swift 5
First, what’s JSON? JSON (short for JavaScript Object Notation) is a text-based, lightweight, and easy way for storing and exchanging data. It’s commonly used for representing structural data and data interchange in...
How to Create Perspective Text Using SwiftUI
If you’ve worked with UIKit before, the Text control in SwiftUI is very similar to UILabel in UIKit. It’s a view for you to display one or multiple lines of text. This Text control is...
A Complete Guide to In-App Purchases for iOS Development
Hello folks! In a time where the App Store is full of apps, users have more than plenty of options to choose from. There is a lot of competition on all kind of apps, and users want to try them before they decide whether they like...
macOS Programming Tutorial: Working with Collection View
Welcome to a new macOS tutorial! In previous posts we talked about table views and outline views as means to display collections of data in a structured way. Both present quite common behaviour and they’re close to the way...
The Comprehensive Guide to the State Management in iOS
There are many challenges in the software development, but there is one beast that tends to screw things up much more often than the others: the problem of app’s state management and data propagation. So what can go wrong with...
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,...
SwiftUI First Look: Building a Simple Table View App
WWDC 2019 was one of the more exciting keynotes in terms of advancements in developer tools. One of the biggest and the best announcements was the release of SwiftUI. SwiftUI is a brand new framework that allows you to design and...