The confirmationDialog modifier in SwiftUI is a handy little modifier that allows us to present pop-up dialogs to confirm actions or decisions within our iOS apps. These dialogs are great for getti...
Using LPMetadataProvider to Extract Metadata from a URL
TLDR: LPMetadataProvider allows us to extract metadata from a URL. Introduction Nowadays, majority of websites include OpenGraph <meta> tags, that summarizes their content for search e...
Using Enumerable Callbacks to Delegate Actions in SwiftUI
Rambling Intro One essential aspect of mobile engineering is communication between different components. We all know that building an interactive app requires us to use a good communication patter...
Nil Coalesce Swift Optional Bindings with Custom Operators
Swift is known for its safety features and expressive syntax, and one of its powerful constructs is the optionals system. Optionals allows us to represent values that may or may not be present. How...
How to Inject Dependencies into SwiftUI @StateObject
Intro When it comes to SwiftUI, we frequently rely on the @StateObject property wrapper for effectively handling the lifecycle of objects that persist across view updates. However, the process of ...
Leveraging ToolbarContentBuilder to Refactor Your SwiftUI Toolbar Code
Just like SwiftUI’s ViewBuilder, ToolbarContentBuilder is used to put together dynamic ui content for toolbars Intro In SwiftUI, the Toolbar component is essential for adding UI elements like...
Simplifying SwiftUI Toolbars. A Guide to Neat and Reusable Toolbar Code
Toolbars are an essential part of our iOS app’s user interfaces, providing users with quick access to common actions. However, toolbar code can become a tangle of nested closures in our view’s body...
Using Xcode Scheme Environment Variables to Store Qa Secrets
When developing iOS applications that require user authentication, It’s not unusual for teams to have some sort of express login for Qa authentication. Express login lets testers and developers acc...
Understanding Keychain Query Attributes
As we established in our prior blog post, the Keychain Services framework is like a trusted vault, where you can securely store sensitive information such as passwords, tokens, and credit card deta...
Understanding Swift OptionSet, a Flexible Data Type for Managing Multiple Choices
TLDR Option sets can be thought of as an extension of enums that allow multiple cases to be true simultaneously As Swift developers we have various tools at our disposal to handle different c...