How to Use Stable Diffusion to Generate Images with Swift CLI
Developed by Stability AI in collaboration with academic researchers and non-profit organizations, Stable Diffusion is a deep learning model that generates detailed images based on text descriptions or what so called text...
Swift DocC: How to Host Document Archive on Web Server and GitHub Pages
Swift DocC is a documentation compiler introduced by Apple in Xcode 13, designed to help developers create elegant and interactive documentation for their iOS and macOS projects. The compiler converts your Markdown-based comment...
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...