Home
Osas Blogs
Cancel

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...

Graphql Jargon Sheet

TLDR GraphQL is all about hooking you up with exactly what you need. Whether you’re using a mobile or a web app, it lets you to request only the specific fields or properties that you’re intere...

How to Create your Custom EnvironmentValues in SwiftUI

TLDR A set of properties that easily exposes app-wide configuration to our views. A good example is \.colorScheme that tell us if the device is currently in light or dark mode. Hey folks! If ...

What are Associated Types in Swift?

TLDR Allows us to define placeholder types inside of our protocols, these placeholder’s actual types are then determined by the classes or structs that conforms to the protocol. Associated ty...

Accessing your App's User Defaults from Widgets Extension in Swift iOS

iOS Widgets offer a friendly and effortless way for users to get quick information and perform actions without navigating through the main app. However, when creating widgets we often face the comm...

Utilizing SwiftUI's ViewBuilder to Simplify Dynamic View Composition

TLDR The fundamental building block of SwiftUI declarative nature that allows us to construct dynamic and conditional views in swiftUI. It allows us to pass multiple child views as parameter, c...

Leveraging the 💫 Magic of DisclosureGroup to Build Collapsible Views in SwiftUI

Intro One of the beautiful things about SwiftUI is its abundance of underrated components and modifiers that make the iOS developer experience incredibly easy and enjoyable. One such gem in the Sw...