Hi, I'm Sarun — an iOS developer.

On this blog I will share my working processes, tip and tricks, tools,
and problems I found along the way.

Latest Post

A first look at matchedGeometryEffect

This modifier can interpolate position and size between two views. This is one of the most exciting features for me. Let's see what is capable of in this beta.

Latest Tip

Easy way to detect a retain cycle in a view controller

A view controller is one component where memory leak usually takes place since it holds many pieces together. One of the easiest ways to detect them is to see if a view controller is not being deallocated. Let's see how Xcode breakpoint can help you find a leak.

Recent Posts


More posts can be found in the archive.

Should I learn UIKit or SwiftUI

The most popular question since the introduction of SwiftUI. Here is my thought after WWDC20.

SwiftUI's Toggle Customization

How to create a reusable toggle style in SwiftUI.

Sleep sort: A sorting algorithm without compare

I can't tell it is a stupid or genius algorithm, but it sure got a beauty in it.

Recent Tips


More tips can be found in the tips section.

How to change a back button image

Learn how to change a UINavigationBar back button indicator.

Match a view's shadow to the Sketch shadow

Learn how to set shadow spread and blur from a Sketch design.

How to compare two app version strings in Swift

Learn how to check your app version strings are higher or lower.

How to split a string into an array of substrings in Swift

Learn different ways to split a string into an array of substrings.

Projects