Hi, I'm Sarun — an iOS developer.

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

Get weekly updates on new posts


How to break multiple nested loops in Swift

Learn how to break out of the outer loop from the inner loop.


Create Button with Rounded Corner Border in SwiftUI

Learn different ways to create a Button with a Rounded corner Border in SwiftUI.

How to get Root view controller in Swift

In this article, I will show you a quick and dirty way to get a root view controller in an iOS app.

iOS


SwiftUI: Explore the new declarative UI framework


More posts about SwiftUI

How to hide a Navigation Back button in SwiftUI

Learn a simple way to hide a back button in SwiftUI. And whether we should hide it or not.

ContentUnavailableView in SwiftUI

A dedicated SwiftUI view to present an empty state for your app.

Floating Action Button in SwiftUI

iOS doesn't have a Floating Action Button, but we can easily recreate it using what we have in SwiftUI.

How to use NSAttributedString in SwiftUI

Learn how to use an old NSAttributedString inside a SwiftUI app.

More posts about SwiftUI or explore other topics

UIKit: Learn the best of both worlds


More posts about UIKit

Built-in symbol animations in UIKit controls

In iOS 17, we can enable symbols animation in UIKit controls using the new property. Let's learn how to do it.

What is contentInset in a scroll view

Learn the importance of content inset.

How to use AttributedString in UIKit

Learn how to use the new AttributedString inside UIKit components.

Configure Launch screen in UIKit without Storyboard

In Xcode 12 and iOS 14, we got a new way to configure an app launch screen without a Storyboard. Let's learn how to do it.

More posts about UIKit or explore other topics

Swift: Learn every aspect of the language


More posts about Swift

Different ways to map over Dictionary in Swift

Learn how to map function work with Swift dictionary.

How to convert Degrees to Radians in Swift

In this article, we will learn different ways to convert Degrees to Radians in iOS.

Better print for AnyKeyPath in Swift 5.8

Swift 5.8 improve the information that is printed out for a keypath.

How to convert Radians to Degrees in Swift

In this article, we will learn different ways to convert Radians to Degrees in iOS.

More posts about Swift or explore other topics

Xcode: Learn tips and tricks about the tool


More posts about Xcode

How to fix "dyld: Library not loaded @rpath" error

You probably get this error when you try to add a third-party framework to your project. Let's learn one way to fix it.

Bookmark in Xcode 15

Xcode 15 brings one of the great features of Xcode, the ability to bookmark your code.

Access Images and Colors with Enum in Xcode 15

Xcode 15 can automatically create Swift symbols for your resources without any third party. Let's learn how to do it.

Little big improvements in Xcode 15

Small improvements that make a big difference in day-to-day coding.

More posts about Xcode or explore other topics