RSSAmplifier

Blog

Sagar Unagar's Blog

Sagar Unagar's Blog

sagarunagar.comRSS feed ↗41 posts

Latest posts

SwiftUI concentricCornerRadii in iOS 27 - Complete GeometryReader guide

SwiftUI has steadily made it easier to create interfaces that feel native without requiring developers to manually reproduce the framework’s…

SwiftUI Document APIs in 2027 Releases - Everything You Need to Know

SwiftUI’s document architecture has quietly become one of the most powerful foundations for building professional macOS, iPadOS, and iOS…

AsyncImage Finally Gets Caching in SwiftUI

For years, has been one of the easiest ways to display remote images in SwiftUI. With just a URL, SwiftUI handled downloading and…

SwiftUI @ContentBuilder - Faster Type Checking in Xcode 27

SwiftUI's declarative syntax makes it possible to describe complex interfaces by composing smaller pieces of content. As a view hierarchy…

SwiftUI Text Selection Improvements in iOS 27

One of the smaller SwiftUI improvements in iOS 27 makes a surprisingly big difference to the user experience. If your app uses the modifier…

Mastering SwiftUI Toolbar Overflow Menus in iOS 27

At WWDC26, SwiftUI received one of its most practical toolbar improvements since the introduction of toolbar customization APIs. Until now…

SwiftUI .crossFade Navigation Transition in iOS 27

When Apple introduced in iOS 18, it finally gave SwiftUI developers a first-party way to customize navigation animations. The initial API…

Reordering Beyond List - SwiftUI iOS 27

For years, was the only SwiftUI container that offered a polished built-in item reordering experience. If you wanted users to rearrange…

SwiftUI's new item based presentations in iOS 27

At WWDC 2026, Apple introduced several small SwiftUI APIs that are easy to overlook. None of them add a new visual component. None of them…

SwiftUI's New .prominent Tab in iOS 27 Is Not a Floating Action Button

At WWDC 2026, Apple introduced a new tab role for SwiftUI: . At first glance, it looks simple. Apply the role to a tab, and the system gives…

SwiftUI Localization Guide - Change Language Without Restarting the App

Most iOS apps rely entirely on the system language selected by the user. If someone wants to use the application in another language, they…

Swift Sendable Explained - Compile Time Data Race Prevention in Swift Concurrency

Swift Concurrency introduced one of the most important safety improvements in the language: compile-time data race detection. Before Swift…

Swift Task Lifecycle Management - Structured vs Unstructured Concurrency

Swift Concurrency fundamentally changed how asynchronous programming works in Swift. Before async/await arrived, developers relied heavily…

ContentUnavailableView in SwiftUI - Complete Guide With Examples

SwiftUI has steadily evolved from a declarative UI framework into a platform with thoughtful, production ready UI components. One of the…

Accelerate Framework in Swift - Complete Guide to High-Performance Computing

Modern apps process more data than ever before. Images are filtered in real time. Audio is analyzed live. Machine learning pipelines…

Understanding 'indirect' keyword in Swift - Recursive Enums Explained Clearly

Swift is a language that rewards clarity and safety. Most of the time, its features feel obvious once you see them in action. The keyword…

Understanding inout Parameters in Swift - How They Work and When to Use Them

Swift is designed to be safe by default. Values are immutable unless explicitly marked mutable, and function parameters are constants by…

associatedtype in Swift Explained - A Complete Guide with SwiftUI Examples

Swift’s type system is designed to strike a balance between flexibility and compile-time safety. At the center of this balance lies a…

Lazy Properties in Swift - Why They Don’t Always Work in SwiftUI

Swift provides a powerful set of tools to manage initialization, performance, and memory. Among them, lazy properties stand out as a simple…

Mutex in Swift - Protecting Shared Mutable State with Locks

In modern Swift development, managing shared mutable state is a fundamental challenge. As applications become increasingly concurrent…

Animatable in SwiftUI Explained - Complete Guide with Examples & Deep Dive

SwiftUI provides a powerful, declarative animation system that enables smooth, expressive user interfaces. In most cases, animations can be…

Swift Algorithms - Apple’s Hidden Collection and Sequence APIs You Should Be Using

Swift’s standard library already gives us strong collection primitives. Yet many developers still write nested loops, temporary buffers, and…

Swift some vs any - Understanding Opaque Types and Existential Types

Swift’s type system is designed to provide both strong compile-time guarantees and high runtime performance. One of the key features…

Thread Safety in Swift - Preventing Data Races with Locks, Queues, and Actors

Modern applications rarely execute on a single thread. Networking, background processing, UI updates, and database operations often run…

Mastering Geometry in SwiftUI - GeometryReader, GeometryProxy & onGeometryChange

SwiftUI's layout system is declarative, adaptive, and proposal-driven. Most of the time, stacks and spacers are enough. But the moment you…

Static vs Dynamic Dispatch in Swift - How Method Dispatch Really Works

Method dispatch is one of those low-level Swift concepts that quietly influences performance, architecture, and API design. Although most…

Copy-on-Write(CoW) in Swift - How It Works and Why It Optimizes Memory

Swift is designed around two core principles: safety and performance. At first glance, these goals often appear to conflict. Value types…

AsyncStream & AsyncThrowingStream in Swift - Real-Time Data Sync Explained

Modern apps are no longer single-device experiences. Users expect their data to stay perfectly in sync across iPhone, iPad, and Mac, with…

Designing a Scalable App-Wide Theming System in SwiftUI

Theming is one of those features users notice instantly — and one of the easiest places to introduce inconsistency if it’s not designed…

SwiftUI Observation Framework Explained - Using @Observable in iOS 17

SwiftUI’s rendering system is built around a single core idea: views are cheap to recreate, but state must be preserved. To support this…

Xcode Templates Explained - Speed Up iOS Development by Eliminating Boilerplate

While building production apps, efficiency rarely comes from writing less code. It comes from writing the same code fewer times. This…

InlineArray in Swift - Memory Efficient Fixed-Size Arrays

Swift 6.2 introduces , a new low-level data structure designed to improve performance and memory efficiency in specific scenarios. While…

Zoom Navigation Transitions in SwiftUI

SwiftUI continues to evolve with powerful APIs that help developers build fluid, delightful user experiences with very little code. One such…

SwiftUI Fonts Explained - System Styles, Modifiers and Accessibility

Fonts define the visual structure and readability of text in a SwiftUI interface. SwiftUI provides a typography system that adapts…

How to Create a Signature Canvas in iOS Using SwiftUI and PencilKit?

Creating a smooth and natural signature experience is a small feature that can add huge perceived value to an app—especially in business…

SwiftUI App Localization in Xcode — Easy, Scalable

Recently, I updated my invocing app Reckord to support 24 different languages as part of my ASO strategy. Localization not only makes your…

How to add SegmentedControl in List that scrolls with a List in SwiftUI?

When building apps with SwiftUI, you might need to add a SegmentedControl on top of a List that scrolls along with the list. Usually, you’d…

Sign in with Apple - SwiftUI, MVVM

Sign in with Apple is a new way to sign in to your app just like facebook and google with all apple privacy and security. Sign in with Apple…

Understanding gradients using SwiftUI

What is the gradient? Apple says it is an array of color stops each having parametric location value. In simple word, it is a color ramp or…

Property wrappers in SwiftUI

What is Property Wrapper? Property wrapper is a simple generic class/struct that has some logic that gets trigger whenever the value of…

Basic structure of SwiftUI project

Apple introduced SwiftUI in WWDC 2019 that enabled a new way to create user-interface of your iOS app. Whenever you create your single view…