Blog icon indicating copy to clipboard operation
Blog copied to clipboard

My blog, in Github Issues.

Results 29 Blog issues
Sort by recently updated
recently updated
newest added

I used to work on weekends. I was aware of advice against this. However, I thought online writings were too focused on work-life balance (which hasn't been much of an...

# Conventions, conformity, and code review I think every other software team now has a set of code **conventions** to achieve a high level of **consistency**, which is enforced by...

`XCTest` provides a very convenient way that makes testing methods marked as `async` a breeze. Just marking the test method as `async` does the job: ```swift func test_myAsyncMethod() async throws...

Consider the following Swift struct definition: ```swift struct Person { var name: String } ``` If you think the `var` in the struct above should have better been declared as...

The following is a typical view model in an MVVM setup: ```swift class PostsViewModel { @Published var posts: [Post] = [] func viewDidLoad() { // 1. Get an array of...

For the past two years, I've been working almost daily on a Kotlin multi-platform (KMM) codebase. In this post I'll try to note down my experience with it. I'll try...

(Originally published 2019-02-05) Sometimes we need to show an alert, apply a gradient, or conditionally show another view controller on the startup of a view controller. We wish to do...

(Originally published 2019-02-01) Here I should be listing (and categorizing) the most useful iOS Developer Twitter accounts to follow. Last week, I found myself taking a colleague in a tour...

# Thoughts about Clean Architecture™ The clean architecture is an application architecture popularized by [Robert C. Martin](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html). You may be already familiar with it or its name. If not, that's...

Maybe it's written already somewhere, but I only took notice of this just now. I originally looked at guard statements as just sugar for inverted if statements that only look...