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

How to create Activity Ring in SwiftUI

A guide to creating an activity-ring-like circular progress bar in SwiftUI. An in-depth tutorial of what I think when making a custom view. At the end of this article, you will be able to create the Activity ring used in the Activity app on Apple Watch.

Latest Tip

Testing Remote Push Notification in iOS simulator

A new and easier way to test Apple push notification on iOS simulator.

Recent Posts


More posts can be found in the archive.

Gradient in SwiftUI

SwiftUI has built-in ways to apply gradient color to its view. We are going to explore all three types of gradients provided, LinearGradient, RadialGradient, and AngularGradient.

SwiftUI basic Shape operations

Most complex custom views can be made by composing many basic shapes together. Today we will learn basic operations that we can do with them. It may seem trivial, but knowing these basics will benefit you in the future.

Sign in with Apple Tutorial, Part 4: Web and Other Platforms

Part forth in a series Sign in with Apple. Use Sign in with Apple JS to let users set up accounts and sign in to your website and apps on other platforms.

Sign in with Apple Tutorial, Part 3: Backend – Token verification

Part 3 in a series Sign in with Apple. In this part, we will see how backend can use the token to sign up/sign in users.

Recent Tips


More tips can be found in the tips section.

Intrinsic content size in SwiftUI

How to define intrinsic content size in SwiftUI

Print unescaped string output in Swift

How to print object (po) in a debugger (lldb) without escape special characters.

Inset grouped List in SwiftUI

How to make .insetGrouped UITableView style in SwiftUI List

What is @discardableResult

Learn about this Swift attribute and its purpose.

Projects