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.
We can group related data in a SwiftUI list using Section view. We can also optionally add a header and footer to describe a particular section. Let's learn how to do that.
SwiftUI Divider has some limitations, but you can overcome that with modifiers. Let's explore its limitation and capability.
SwiftUI Divider has some limitations, but you can overcome that with modifiers. Let's explore its limitation and capability.
In this tutorial, we will learn how to create a circular progress bar in SwiftUI using just three SwiftUI views.
There are two ways to set a font size for Text view in SwiftUI. Let's see what they are and how to set them.
If you are not ready to make your app support dark mode, you can opt-out of that. You can do disable it for an entire app or partially. Learn different ways to disable dark mode in iOS.
By default, when you set an image to an UIButton, it will position on the leading edge of the text. Let's learn how to put it on the trailing edge instead.
When you convert HTML string to NSAttributedString, sometimes, you will get an extra unwanted bottom padding. Learn what is causing this and how to mitigate the problem.
In iOS 15, we finally have native UI for a bottom sheet. Let's explore its behavior and limitation.
Every year Apple introduces new features to the system, and sometimes they have to deprecate some old APIs to make room for the new ones. Change is an inevitable thing in programming. Let's learn how to handle the changes.
Type placeholders allow us to write a type placeholder (_) in a place where type is expected. A compiler will automatically infer the type of that placeholder. But what is the benefit of it? Let's find out.
A type alias declaration introduces a named alias of an existing type into your app. You can think of it as defining a nickname for an existing type. Let's learn the benefit and when to use them.
Learn how to use a launch argument to override UserDefaults value and test your apps.
Each language has its own characteristic. Some are more verbose than others. Some have special characters that take up vertical spaces. Some even read and lay out from right to left. Let's see how to make sure your layout is ready for this.
A tip for creating multiple schemes to quickly run your app in different languages.
Xcode has a feature to generate code coverage since version 7. Let's see how to enable it and what you can expect from this feature.
macOS is tightly coupled with storyboard and xib than iOS. To build your UI entirely in code, we have to do some initial setup.
Turn your code into a snapshot.
A step by step guide to implement Sign in with Apple.
SwiftUI cheat sheet
A more work-friendly mirror for Fucking SwiftUI
A programming picture book covers a topic on many aspect of UITableView. This is a fun small project I did long time ago.
I got some apps in the App store, you can check it out.