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

Dark color cheat sheet

A cheat sheet that tells you what colors to use to support dark mode. This is a guide for those who want to adopt dark mode, but too lazy to figure out which color to use.

Latest Tip

Unwrap optional values in XCTest with XCTUnwrap

No more manual if let and guard let in your tests.

Recent Posts


More posts can be found in the archive.

Github Actions for iOS projects

How to setup ci for iOS projects with Github Actions.

Dark color

Things you should know about color when adopting dark mode.

UINavigationBar changes in iOS13, Part2: UISearchController

Revisit of navigation bar appearance — this time with a UISearchController. If you have a search bar in your navigation bar, you might need to recheck when you build your app against iOS13.

Data in SwiftUI, Part 3: Tools

The last part in a series on understanding data in SwiftUI. See all tools SwiftUI provided to declare different types of data and dependency. Learn when and how to use @State, @Binding, ObservableObject, @ObservedObject, @EnvironmentObject, and @Environment.

Recent Tips


More tips can be found in the tips section.

// MARK: - What is it?

If this is just a comment for you, this article might benefit you.

Caching dependencies in Github Actions

How to cache Pods, Ruby gem, and Carthage in your iOS project.

if let

How not to use it

Take a screenshot and record a video in iOS Simulator

Learn how to do all of this without any external tools.

Projects