Home
Osaretin's Blog
Cancel

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

Understanding Opaque Types in Swift 👉Abstraction and Encapsulation Made Easy👈

Opaque types in Swift are a language feature introduced in Swift 5.1. They provide a way to define and work with types that hide their implementation details while still offering a clear interface....

Leveraging Swift Dispatch Group to Coordinate Asynchronous Tasks

TLDR Dispatch groups allow us to manage and group multiple async tasks together and wait for all of them to finish before continuing with the rest of our code. Building fast and responsive ap...

Implementing Picture-in-Picture in Swift for iOS

In today’s fast-paced world, users crave flexibility and the ability to multitask effortlessly. Imagine a scenario where your iOS app allows users to continue watching their favorite videos while b...

5 Underrated SwiftUI Modifiers

SwiftUI is a powerful declarative framework for building user interfaces in Swift. For iOS developers, it’s essentially the best thing since sliced bread. One of the neat little things that allows ...