Faking Value Semantics with Custom FormatStyles
Explains how to create a custom FormatStyle in Swift to handle ordinal number formatting, addressing performance and locale issues.
Soroush Khanlou — Programmer and writer focused on Swift and Objective-C, with interests in language design and learning from other programming languages.
10 articles from this blog
Explains how to create a custom FormatStyle in Swift to handle ordinal number formatting, addressing performance and locale issues.
A SwiftUI developer shares a strategy using ViewThatFits to create responsive UI text that adapts to accessibility settings like dynamic type.
Explores advanced techniques for the Meridian Swift web framework, focusing on responder parameterization and architectural design decisions.
An update on Meridian, a Swift on the Server web framework inspired by SwiftUI, covering async/await support and WebSocket integration.
A developer discusses moving away from ORMs in server-side Swift, preferring direct Postgres integration and type safety with SchemaSwift.
Explores the limitations of RGB for generating colors and proposes using hue-based color spaces like HSL for creating aesthetically pleasing, algorithmically generated color palettes.
A Swift developer explores performance improvements in a Sudoku solver by using primary associated types and Collection protocols to avoid unnecessary data copying.
A guide to naming colors in app development for better code readability, team communication, and enforcing a consistent design palette.
Explains how to implement a download progress bar using Swift's new async/await features and the AsyncBytes API in iOS 15.
A programmer's reflection on the distinction between 'logic' (algorithms, business rules) and 'context' (the surrounding systems and infrastructure needed to make logic work).