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.
On this blog I share my working processes, tip and tricks, tools, and problems I found along the way.
Swift 6 lets a function declare exactly which error type it throws. Here is the syntax, what it does to catch blocks, and why untyped throws is still the right default.
Swift 6.1 allows a trailing comma in parameter lists, tuples, generic parameters, capture lists, and more. A small change that makes diffs a lot cleaner.
Swift 5.9 lets an if or switch produce a value instead of just assigning one. It removes a var we never wanted, but the single-expression rule catches people out.
Learn how and when you should ask for a user's review.
Learn different ways to create a Button with a Rounded corner Border in SwiftUI.
Learn how and when you should ask for a user's review.
Learn how easy it is to add a toolbar on a view controller in UIKit.
In iOS 17, we can enable symbols animation in UIKit controls using the new property. Let's learn how to do it.
Swift 6.1 allows a trailing comma in parameter lists, tuples, generic parameters, capture lists, and more. A small change that makes diffs a lot cleaner.
Swift 5.9 lets an if or switch produce a value instead of just assigning one. It removes a var we never wanted, but the single-expression rule catches people out.
Adding a case to a public enum is a source-breaking change for anyone switching over it. Swift's @nonexhaustive attribute finally lets packages opt out of that.
Swift 6.2 adds InlineArray, a fixed-size array whose length is part of its type, along with a shorthand for writing it: [5 of Int].
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.
Xcode 15 brings one of the great features of Xcode, the ability to bookmark your code.
Xcode 15 can automatically create Swift symbols for your resources without any third party. Let's learn how to do it.
Small improvements that make a big difference in day-to-day coding.
I got some apps in the App Store, you can check them out.
My books on iOS development, including Practical Sign in with Apple.
SwiftUI cheat sheet