01 Field notes

Thinking,
made visible.

Swift, architecture, Apple-platform internals, and the small product decisions that make software feel considered.

Follow via RSS
  1. 03 UserDefaults and Keychain Apple offers several persistence options, and UserDefaults and Keychain are the two you reach for most often in day-to-day app development. From past …
  2. 04 Making a "Send to 2Do" Safari bookmarklet Drag the link below onto your Favorites Bar. The default click behaviour simulates navigation on the current page, and the destination URL is whatever …
  3. 05 My reading workflow I’ve been tightening up my reading workflow lately, so here’s an update. The tools involved: DEVONThink Pro PDFExpert MarginNote (1) is …
  4. 06 Testing Swift code that uses system singletons in 3 easy steps Original: Testing Swift code that uses system singletons in 3 easy steps Original author @johnsundell Most apps built on Apple platforms lean on …
  5. 07 Avoiding singletons in Swift Original: Avoiding singletons in Swift Original author & Copyright @johnsundell “I know singletons are bad, but…” — you hear it all …
  6. 08 Different flavors of dependency injection in Swift Original: Different flavors of dependency injection in Swift Original author & copyright: @johnsundell In previous posts we’ve looked at …
  7. 09 My favourite Mac apps A running list of the Mac apps I reach for. Every time I reinstall macOS, I forget to grab one or two of these and only notice once I actually need …
  8. 10 What is LLVM What is LLVM? The secret behind Swift, Rust, Clang, and more Understanding how a compiler emits native machine code makes it dramatically easier to …
  9. 11 In-app purchase If your app ships on the App Store, in-app purchase (IAP) is something you can’t really avoid. Last year’s spat between WeChat tipping and …