hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax ee8e480bdd
iOS keyboard: a late host echo keeps the swipe's pending space (#2273)
A host reports textDidChange for the keys' own inserts, and some report it after
the insert has finished, with a proxy that still returns the text from before it.
textDidChange cleared swipedWord and read auto-capitalization from that report, so
"This is a test" swiped quickly came out "This Isa test".

A swipe now records the text it left before and after the cursor, and textDidChange
keeps it while the host's update is that echo or a lagging read, still clearing it
for a change made elsewhere, a cursor move, a selection, a cleared field or another
field. A short-lived record of Hex's own insert (typingContext, bounded by clock,
with the text after the cursor too) gives word boundaries and casing what Hex typed
while the host catches up, in the host's own straight-quote form. Paths that move
text around the keys (a delete slide, an autocorrection or text replacement, the
strip's revert, a double-space period, a smart dash, a held space, Czech and Greek
accents, a paste, a dictation, an undo) record the text they leave, so the next key
reads the corrected text and not the old one; anything that deletes or replaces
text still reads the host's own report. Delete and a strip pick decide the held
space before forgetting the record, as that decision deletes nothing; a picked
reading records the word it puts in, not the one the host still reports. The delete
key's repeat moves to DeleteWordSwipe.swift, and the key labels and trackpad state
to their extensions, to keep the engine under the file-size cap.

Tests: a host echo after each swipe, a proxy that lags one insert, reports nil or
empty, the lifetime bound, an edit or cursor move from elsewhere (casing too), a
delete slide right after a swipe, an autocorrection on space in a stale host before
a swipe, a field cleared after a swipe, a smart-quote swipe's echo, a delete after a
pick and a picked swipe reading, each with a host still reporting the old text.
2026-11-21 19:14:42 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
AppleSpeechTranscriber.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
ContentView.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
CustomVocabularyEditor.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DictationController+Engine.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift iOS keyboard: stale microphone errors clear, Hex key audio calls leave the main thread, counts read 1, 2, 3 (#2203) 2026-11-21 10:08:42 -05:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
Info.plist iOS: plain permission prompts and no pre-prompt Allow button, for App Review (#2058) 2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift ios: give the dictation bar's top row 44 pt hit areas (#2258) 2026-11-21 16:37:47 -05:00
KeyboardSetup.swift iOS: Full Access confirms on its own, and shows Off after a revoke (#2154) 2026-11-21 07:25:50 +00:00
KeyboardSpeechPreparation.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
LanguageSettingsRows.swift iOS: Languages hint says to slide right away to switch, hold first for the cursor (#2269) 2026-11-21 17:23:41 -05:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Localizable.xcstrings iOS: Languages hint says to slide right away to switch, hold first for the cursor (#2269) 2026-11-21 17:23:41 -05:00
Onboarding.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnboardingPieces.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
OnboardingProgress.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnDeviceSpeechTranscriber.swift iOS: dictate Latin American Spanish with Latin America's model, and keep a picked variant when the keyboard switches (#2193) 2026-11-21 09:53:34 -05:00
ParakeetTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraModel.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
SettingsPages.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
SpeechEngineChoice.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TranscriptCleanup.swift fix(labs): Apple Intelligence cleanup never pastes an answer or a preamble (#2212) 2026-11-21 13:43:24 -05:00
TranslateDictationRow.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TranslationSessionHost.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TypingInsightsView.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00