Optional Binding in Swift 5.7: A Shorter Version of if let
Other than all the new features of SwiftUI in iOS 16, Apple also announced Swift 5.7 which will come along with the release of Xcode 14. Let’s check out one minor but welcome change in Swift 5.7. Swift has the concept of...
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...
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 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...
Deep Dive into Swift 5.5’s Async/await Concurrency Model
In designing the async/await construct, Apple is hoping to increase the readability, and thus maintainability, of implementing concurrency/parallelism in Swift. What I see in it are attempts: to make asynchronous/parallel code...
iOS 14 Updates in UIKit: ColorPicker, DatePicker, Menus and Actions
By the time SwiftUI was announced and given to developers in WWDC 2019, it was made obvious that this was going to be the future for developing applications for all Apple devices. However, even though SwiftUI might be the...
Testing In-App Purchases Using StoreKit in Xcode 12
WWDC20 finished almost two months ago, but still we are all talking about the new frameworks, APIs, and improvements announced this year. Among all those there’s something that is going to have a strong impact to the way we...
SwiftUI Animation Basics: Building a Loading Indicator
Have you ever used the magic move animation in Keynote? With magic move, you can easily create slick animation between slides. Keynote automatically analyzes the objects between slides and renders the animations automatically. To...
How to Reuse SwiftUI Views with LibraryContentProvider and Swift Package
WWDC 2020 introduced several new features and improvements in the entire spectrum of develpment in Apple ecosystem, and definitely every developer found lots of things to get excited with. One of those features regard Xcode 12...
What’s New in Xcode 12 and Swift 5.3
WWDC 2020 was finished just a few days ago under unprecedented conditions for first time. Virtually, all developers around the globe had the chance for a seat in the front row, being able to learn about all new features and...