← All work

Practice project · Swift practice project

SwiftJog

Short Swift exercises, each checked by unit tests.

SwiftJog banner: a running figure between curly braces

Why

Day-to-day app work rarely needs result builders or custom operators, so I practise them here. Each topic gets a small exercise and a matching set of XCTest unit tests.

What it covers

  • Generics, a generic stack, and Strideable types
  • Protocol-oriented programming
  • Property wrappers and result builders
  • Concurrency with async/await
  • Memory management and retain cycles
  • Error handling and pattern matching
  • Codable encoding and decoding
  • Custom operators and string interpolation
  • Singletons and static factory methods, through a character battle from a Swift Apprentice challenge

Need an app like this?

I build mobile apps for small businesses, with the backend and admin tools to run them.

Get in touch