My Blog

Lazy Loading and Pagination for Large Data Sets in SwiftUI with Infinite Scrolling

6 April 2025

Recently, I worked on pagination with CoreData and SwiftUI and decided to create a simpler example. This guide covers batch loading and displaying a loading indicator at the bottom while fetching the next batch...

How to Use Xcode Swift-Format to Enforce Code Style Guidelines

3 April 2025

In this article, we dive into Swift-Format, Xcode's built-in code formatting tool, and explore how custom configurations allow teams or projects to define tailored coding style rules for better consistency and ...

Dynamic Adjustment of Bottom Sheet Height in SwiftUI Based on Content inside

9 January 2025

SwiftUI's native bottom sheet component is excellent and usually requires minimal effort. However, there are times when calculating the exact height can be tedious. In this post, we explore a way to make the bo...

Detect Possible STRONG references using regex search menu from Xcode

7 October 2024

When working with legacy code in a Swift project, you may encounter situations where the code doesn't fully adhere to best practices, leading to the occurrence of retain cycles. This often arises due to closure...

Using Enum to Handle States in SwiftUI with MVVM architecture

9 September 2024

When developing SwiftUI applications, it’s common to deal with different states, such as loading data, handling errors, and displaying results. One way to manage these states in MVVM architecture effectively is...

Best Tech Stack for Building a Simple Portfolio Website as a Mobile Developer

7 September 2024

I've always wanted to create a simple portfolio website to showcase my work as a mobile developer, but despite my experience in mobile development, I haven't had much exposure to web development stacks.

Horizontally Align Images with Dynamic Text Views in a VStack in SwiftUI 🚧

29 July 2024

I encountered this situation where I needed to place an Image next to my Text. However, the image had to be horizontally aligned with another image below, which was positioned in a different HStack.

SwiftUI Multiline Text with an INLINE image at the end

16 November 2023

While SwiftUI handles inline images with text for SFSymbols, I’ve struggled to find a solution that allows an asset image size to dynamically adjust to the text.

How to take a screenshot/snapshot of a Scroll View in SwiftUI.

11 October 2023

In our case, capturing a screenshot of a scroll view that extends beyond the visible area of the screen requires several steps.

My First Blog

16 July 2019

My first hello world blog in NextJS