SwiftUI allows you to create buttons in different styles, both custom and default configurations. You can define reusable button styles or quickly get started using SwiftUI modifiers specifically available for buttons. It’s essential to avoid tap gestures if possible since you’ll get a lot of accessibility support for free when using the button view element. …
Search Results for: Buy Pdfvce H12-891_V1.0-ENU Practice Material Today and Save Money with Free One Year Updates ⏹ Go to website ▷ www.pdfvce.com ◁ open and search for ➠ H12-891_V1.0-ENU 🠰 to download for free 🔼Valid H12-891_V1.0-ENU Test Vce
SF Symbol: How to for Swift & SwiftUI
Apple introduced SF Symbols during WWDC 2019 as a big present for developers, as they’re straightforward and free to use. Apple introduced several updates over the years, resulting in a library of over 6000+ symbols. All symbols are designed to integrate seamlessly with San Francisco, the system font for Apple platforms. If you remember the …
Enum explained in-depth with code examples in Swift
Enum usage in Swift: If case, guard case, fallthrough, associated values, and the CaseIteratable protocol. These terms could sound familiar if you’ve worked extensively with Swift enums. An enumeration defines a common type for a group of related values and enables you to work with those values in a type-safe way within your code. It’s essential to be …
Black Friday: 50% discount on RocketSim & Going Indie Course
It’s that time of year when once-a-year discounts are offered on all kinds of products, including RocketSim and my Going Indie course. It’s the best moment to increase your app development productivity and to kickstart your indie journey to make the most out of your side projects. Before sharing details on getting these discounts, I’d …
Contingent pricing for in-app subscriptions
Contingent pricing for in-app subscriptions creates a new way to retain and attract customers by providing discounted subscription prices to those actively subscribed to a different subscription. It’s especially interesting because it allows you to pair up with another developer’s subscription and create a cross-app bundle offering. Apple announced contingent pricing in December 2023 and …
MainActor usage in Swift explained to dispatch to the main thread
MainActor is a new attribute introduced in Swift 5.5 as a global actor providing an executor that performs its tasks on the main thread. When building apps, it’s essential to perform UI updating tasks on the main thread, which can sometimes be challenging when using several background threads. Using the @MainActor attribute will help ensure …
How to Use URLSession with Async/Await for Network Requests in Swift
URLSession allows you to perform network requests and becomes even more powerful with its async/await APIs. You can request data from a given URL and parse it into a decoded structure before displaying its data in a view. Popular frameworks like Alamofire aim to make it easier to perform requests, but for many apps, you …
Using the #require macro for Swift Testing
Swift Testing is Apple’s modern replacement library for XCTest and introduces new macros like #require. We’ve covered the #expect macro before and are about to dive into its companion to set requirements for a given test. Each #require macro needs to pass for a test to continue. It’s kind of an early guard not to …
Confirm your subscription
You’re one step away from joining my mailing list. Check your inbox to complete your subscription—don’t forget to check your spam! Thanks, Antoine
Vapor and Swift Testing: Running tests in parallel
Swift on the Server and Vapor go hand in hand, but using Swift Testing can be challenging initially. Tests run in parallel by default, and it’s likely that your tests are running against a localhost database, which requires serial execution of tests. Running tests in parallel drastically improves performance. The performance gains are significant but …