How to Work with SwiftUI Maps and Annotations
When the SwiftUI framework was first released, developers are required to wrap the MKMapView class in order to embed a map in a SwiftUI application. With the release of Xcode 12, the latest version of SwiftUI provides a native...
The Complete Guide to PHPicker API in iOS 14
Importing photos and videos as media items is one of the most common features that the majority of iOS applications include. In general lines, there are two ways to do that; either by using a system-provided controller, or by...
Using Diffable Data Source with Collection Views
If you have some experience with iOS app development, you should be very familiar with the data source protocols such as UICollectionViewDataSource and UITableViewDataSource. Traditionally, to populate data in a collection view,...
SwiftUI Tab View: Building a Paged Scrolling View with PagedTabViewStyle
In the earlier tutorial, we showed you how to work with TabView to display a tab bar interface. In iOS 14, Apple introduced a new style called PageTabViewStyle in the SwiftUI framework for developers to create paged scrolling...
How to Draw Lines and Create Pie Charts Using SwiftUI
For experienced developers, you probably have used the Core Graphics APIs to draw shapes and objects. It’s a very powerful framework for you to create vector-based drawings. SwiftUI also provides several vector drawing APIs...
Announcing Beginning iOS 14 Programming with Swift
We are launching an iOS 14 update for our flagship iOS programming course – Beginning iOS 14 Programming with Swift. The course has been fully updated for iOS 14, Swift 5.3, and Xcode 12. The beginner book is still written...
A Step by Step Guide on how to Create a XCFramework and Distribute it as a Swift package
In WWDC 2019, Apple announced a brand new feature for Xcode 11; the capability to create a new kind of binary frameworks with a special format called XCFramework. That was fantastic news to anyone, since an ongoing inconvenient...
Introducing SwiftUI TabView and Working with Tab Bar Customization
The tab bar interface appears in some of the most popular mobile apps such as Facebook, Instagram, and Twitter. A tab bar appears at the bottom of an app screen and let users quickly switch between different functions of an app....
Announcing Mastering SwiftUI Book for Xcode 12 and iOS 14
We are launching the update of our Mastering SwiftUI book for Xcode 12 and iOS 14. Along with the release of Xcode 12, Apple released a big update to the SwiftUI framework with a lot of additions. Other than adding new UI...
Using matchedGeometryEffect to Create View Animations in iOS 14
In iOS 14, Apple introduced a lot of new additions to the SwiftUI framework like LazyVGrid and LazyHGrid. But matchedGeometryEffect is the new one that really caught my attention because it allows developers to create some...