Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Languages

Swift

Swift language or Swift-specific engineering.

Search within Swift, or combine it with other topics →

2026

Hugging Face

Introducing AnySpeechRecognizer and AnyDecisionModel: Open Models for Speech and Decisions on Apple Platforms

Announcement 12 min +120 XP

AnySpeechRecognizer mirrors Apple's SpeechAnalyzer API but lets apps swap in other engines (NVIDIA Parakeet v3/Ultra/Unified and Alibaba Qwen3-ASR on Core ML) and adds Sortformer-based speaker diarization for up to four speakers.

Swift.org

Swift 6.3 Released

Release 6 min +60 XP

Swift 6.3 adds a `@c` attribute for exposing Swift functions and enums to C (or implementing C-declared functions in Swift via `@c @implementation`), `Module::name` selectors for disambiguating APIs from different imported modules, and library performance attributes `@specialize`, `@inline(always)` and `@export(implementation)`.

XcodeGen and the quest to modularize the Wealthfront iOS app

Case study 11 min +110 XP

Wealthfront replaced its checked-in .xcodeproj with XcodeGen-generated projects defined in YAML, which eliminated project-file merge conflicts across seven squads and made build configuration reviewable in pull requests.

2025

Hugging Face

Introducing AnyLanguageModel: One API for Local and Remote LLMs on Apple Platforms

Announcement 6 min +60 XP

AnyLanguageModel is a Swift package that mirrors Apple's Foundation Models API, so a single `import` swap lets apps target Apple's system model, Core ML, MLX, llama.cpp, Ollama, or cloud providers (OpenAI, Anthropic, Gemini, Hugging Face Inference Providers) through the same session-based interface.

2024

Challenges of mixed SwiftUI and UIKit codebases in iOS Apps

Case study 4 min +40 XP

Mixing SwiftUI into Medium's 2013-era UIKit iOS app brings recurring friction: sizing SwiftUI views hosted in UIHostingController as table/collection cells, mismatched scroll APIs (offset sign differs), and duplicated components like PostPreview implemented in both frameworks.

2023

Hugging Face

Releasing Swift Transformers: Run On-Device LLMs in Apple Devices

Announcement 15 min +150 XP

Hugging Face released swift-transformers, an alpha Swift package with a transformers-like API for on-device text generation, along with the swift-chat demo app, updated exporters and transformers-to-coreml conversion tools, and pre-converted Llama 2 7B and Falcon 7B Core ML models.

2022

Slack Engineering

Scaling Slack’s Mobile Codebases: Modernization

Case study 12 min +120 XP

Slack's year-and-a-half Duplo initiative concluded by modernizing its iOS and Android codebases: iOS moved to a custom VIPER-style feature architecture, stricter SwiftLint rules banning singletons and NotificationCenter, Combine (via CombineX until iOS 12 was dropped), and broader SlackKit adoption, while Android replaced Gson with Moshi, Android Priority Job Queue with WorkManager, and handwritten API calls with an internal Retrofit-based library, and introduced coroutines and Compose incrementally. iOS ended 68% modernized and 81% modularized with CI stability rising from 77% to 90% and average time-to-merge down 64%, Android reached 92% modularization, and local builds later dropped nearly 50% with Bazel and M1 Macs.

Slack Engineering

Scaling Slack’s Mobile Codebases: Modularization

Case study 11 min +110 XP

Slack split its monolithic iOS and Android app targets into owned Feature, Service and Library modules with strict linking rules, such as interface/implementation pairs on iOS, to cut build times, untangle dependencies and clarify code ownership.

2021

How we build SwiftUI features in the Medium application

Case study 9 min +90 XP

Medium's iOS team builds new iOS 13+ features in SwiftUI and Combine by splitting a monolithic, partly Objective-C codebase into Swift packages: ApolloModel for generated GraphQL models, SharedUI components, per-feature UI packages, and planned LiveService/FakeService packages.

The quest for software engineering knowledge.

Look:
Layout: