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 declare a memberwise initializer in a Swift extension

SE-0546 proposes allowing us to declare a struct's memberwise initializer in a same-file extension. Let's see how it works.


How to fix "The frame rate of your app video preview is too high" error

App Store Connect rejects app preview videos that are recorded at 60 fps. Learn why this happens and how to convert your video to 30 fps.

How to fix app preview wrong resolution error in App Store Connect

App Store Connect only accepts app preview videos with exact resolutions like 886×1920. Learn every accepted size and how to convert your recording to match.



SwiftUI: Explore the new declarative UI framework


More posts about SwiftUI

How to create custom view modifiers in SwiftUI

Learn how to create reuse styles using ViewModifier.

How to request users to review your app in SwiftUI

Learn how and when you should ask for a user's review.

How to dismiss Keyboard in SwiftUI

Learn how to programmatically dismiss a keyboard in SwiftUI.

Create Button with Rounded Corner Border in SwiftUI

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

More posts about SwiftUI or explore other topics

UIKit: Learn the best of both worlds


More posts about UIKit

How to request users to review your app in UIKit

Learn how and when you should ask for a user's review.

How to add a Toolbar in UINavigationController

Learn how easy it is to add a toolbar on a view controller in 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.

More posts about UIKit or explore other topics

Swift: Learn every aspect of the language


More posts about Swift

How to break multiple nested loops in Swift

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

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.

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


  • Apps

    I got some apps in the App Store, you can check them out.

  • Books

    My books on iOS development, including Practical Sign in with Apple.

  • Gosh Darn SwiftUI

    SwiftUI cheat sheet