General

11 posts
2024/11/24

Swift 6 Concurrency Migration Notes from a Real Codebase

What helped during Swift 6 concurrency readiness work: actor boundaries, Sendable cleanup, and safer async ownership.

2021/08/29

Swift Everyday Ep #4

How to use full signature init() for VStack, HStack, ZStack

2021/08/27

Swift Everyday Ep #2

Ditch rawValue use callAsFunction on enum

2021/08/26

Swift Everyday: Ep #1

How to add AppDelegate in SwiftUI App

2020/01/31

Swift Tips: Switch

Please find Swift playground at github.com This post shares from simple to advance the use of in swift. These can be enhanced and some time shorthand of more lines of code. I ho...

2019/12/26

How to check whether a module is available using canImport()

Writing multi platform code has its own challenges, but if you use the compiler test then one big challenge is solved for you: you can write one chunk code to run if a specific...

2019/04/26

How to enumerate items in an array

There several ways to loop through an array in Swift, but using the enumerated() method is one of my favorites because it iterates over each of the items while also telling you...

2019/02/12

Simple trick to put end to those empty tableview cells

Just like me, I am sure you all have been annoyed by those empty table view cell after your data is loaded.

2018/08/22

Always Try, Try?, And Try!, Never give up

Beside Swift being powerful, expressive language with a flexible, elegant syntax. There is one of the features I appreciate most is native support for error handling with try ke...

2018/07/28

Understanding more about MVVM

We all know about MVC and it’s shortcomings. I would love to explain MVVM that make developer’s life as well as testing quite easy Creating a View Model Before we take a look at...

2017/11/04

Pure Swift Protocol 'weak var delegate' error

Just like anyone else you have encounter this error too. Writing a pure swift protocol and declaring the weak delegate you must have encountered error mentioned below. \[swift\]...

Made with ❤️ in Austin.

Copyright © 2026