01
iOS engineering
Swift, SwiftUI, concurrency, API integration, and Apple platform security.
Life / iOS / Android / Swift & Kotlin
Implementation notes on mobile architecture, lifecycle behavior, authentication, networking, and security across iOS and Android.
A space for the things I want to share
01
Swift, SwiftUI, concurrency, API integration, and Apple platform security.
02
Kotlin, coroutine lifecycles, Jetpack Compose, and Android platform behavior.
03
Reproductions, secure storage, device integrity, and state transitions.
Stories / Notes / Work in progress
No personal mobile engineering stories have been published in this collection yet. This section automatically fills with my own approved posts, notes, recipes, or build logs as I add them.
Visit the Life notebookPhotography / Original media
A spot for the first photograph
Original photos only, with descriptive captions
Stories behind the images
Details and context, not stock or invented travel photos
Photo entries appear automatically after original pictures and captions are approved and added to the Life notebook.
Engineering / Inspectable examples
Small educational examples, not customer code or claims of deployed robotics, firmware, or backend systems. Open any sample for its checks, source references, and limitations.
Swift / Reference example
func transform(_ items: [String]) async throws -> [String] {
var output: [String] = []
output.reserveCapacity(items.count)
for item in items {
try Task.checkCancellation()
output.append(item.trimmingCharacters(in: .whitespacesAndNewlines))
}
return output
}Stop a loop cooperatively; cancellation is not remote transaction rollback.
Kotlin / Reference example
import kotlinx.coroutines.currentCoroutineContext
import kotlinx.coroutines.ensureActive
suspend fun summarize(records: List<String>): List<String> {
val result = mutableListOf<String>()
for (record in records) {
currentCoroutineContext().ensureActive()
result += record.trim()
}
return result
}Explicitly check coroutine cancellation in a long-running suspend function.
Already on the site / Related material