Add comprehensive iOS & Swift field guide documentation#7
Open
samkeen wants to merge 4 commits into
Open
Conversation
Self-contained HTML guide (docs/relay-notes-ios-guide.html) that maps familiar programming concepts onto this codebase's iOS/Swift idioms, then walks the provider-abstraction spine and the tap-to-saved data flow through the real types. Covers Swift 6 strict concurrency and the iOS-specific gotchas. No app behavior changed. https://claude.ai/code/session_01W47XYXAX6wnMNT3KGJbzQh
Inline SVG (no dependencies): a layered system map, a concurrency isolation-domains map, a runtime swimlane for tap-to-saved, and the recorder state machine. Themed to match; rendered for layout review. https://claude.ai/code/session_01W47XYXAX6wnMNT3KGJbzQh
…ht-7wnngo # Conflicts: # CHANGE_LOG.md
Brings the guide current with the two features that landed on main since it was written: a third on-device transcription engine (Parakeet) and the on-device LLM "Clean up" feature behind a second LanguageModel spine. - Frame the provider abstraction as used twice (transcription + cleanup) - Tour: three engines (Apple permanent default) + optional cleanup step - §06: new "spine, proven twice" subsection; factory eviction + ModelStores - §09: three-engine comparison + cleanup LLM as a fourth MLX actor - §08: additive/non-destructive Note cleanup fields - §10: increased-memory-limit entitlement (free-tier accepts it) - Redrew the layered-map diagram with both protocol spines https://claude.ai/code/session_01W47XYXAX6wnMNT3KGJbzQh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added
docs/relay-notes-ios-guide.html— a comprehensive, self-contained HTML field guide for seasoned programmers learning the Relay Notes codebase and iOS/Swift development patterns. The guide serves as a translation layer, mapping familiar software architecture concepts onto Swift, SwiftUI, and the app's concrete implementation.Key Changes
docs/relay-notes-ios-guide.html(1,274 lines)Content Structure
The guide is organized as a progressive narrative:
Notable Implementation Details
Rationale
This guide addresses the gap between "I can read Swift syntax" and "I understand how this app is built." It's written for people who already ship software in other languages/platforms and need a translation layer rather than a beginner tutorial. The guide is self-contained (single HTML file, no build step, no external CDN) so it can be read offline or embedded in documentation sites.
Per
CLAUDE.md, this is a documentation artifact that future sessions will reference when onboarding to the codebase or explaining architectural decisions.https://claude.ai/code/session_01W47XYXAX6wnMNT3KGJbzQh