hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 5b35eb98f5
iOS: Spatial autocorrect is on by default, under Settings › Keyboard (#2097)
Spatial autocorrect (#2059, tuned in #2091) cut English output word errors
from 10.4% to 6.5% and Spanish from 19.1% to 8.8%, so it graduates from
Experiments and is on for English and Spanish layouts by default. Other
layouts keep the dictionary engine in their own language, as before.

- Default: FullKeyboardSettings.spatialAutocorrect reads
  experiments.spatialAutocorrect as object-or-true (was bool(forKey:),
  unset meaning off). Only the Experiments switch ever wrote that key, and
  only on a change, so unset means never touched: testers who never set it
  get it on, those who turned it off (stored false) stay off, and those who
  turned it on stay on. No new key or migration marker is needed; the key
  keeps its old name, as experiments.fullKeyboard did.
- Settings › Keyboard: "Spatial autocorrect" now sits under Autocorrect,
  shown only while Autocorrect is on, with "Uses where you tap, in English
  and Spanish" (one line; zh-Hans added). Rebased onto #2093, so it sits
  above Suggest swear words; the never-suggest filter still applies to
  Spatial's readings.
- Settings › Experiments: the Spatial row and its two strings are removed
  ("Reads where your taps land…", "Needs the full keyboard with Autocorrect
  on"). Experiments still has Emoji and Clean up with Apple Intelligence,
  so its home row stays.
- The settings-<page> scene fixture writes spatialAutocorrect = true.
- README: where the switch lives, its default and the stored key's meaning.

Verified on an iPhone 17 simulator (iOS 27.2):
- xcodebuild test: 301 tests, 1 skipped (needs HEX_SPEECH_CLIPS), 0
  failures. One earlier full run had testAcceptedJobDeliversTranscript-
  EvenWhenWarmSessionCloses fail on timing; it passed 3/3 alone and in the
  next full run.
- Fresh install, real HEXKeyboard in a hosted field, App Group key unset:
  "ofthw" + space gave "Of the", and "fucj" gave "duck", not the swear word.
- Turned off through Settings › Keyboard: stored false, and after quitting,
  a simulator reboot and two relaunches "ofthw" stayed "Ofthw".
- Memory (Release, Full Access, 3 runs each, off vs on): no difference
  (keyboard phys_footprint 24.5-24.8 MB after open, 33-34 MB at the Hex
  key's touch-down, peak 42-46 MB in both). Since #2091 the model is
  memory-mapped at keyboard open for next-letter odds either way; the
  decoder only adds a struct over it and builds your words lazily.
2026-11-20 20:39:27 +00:00
..
FullKeyboard iOS: Spatial autocorrect is on by default, under Settings › Keyboard (#2097) 2026-11-20 20:39:27 +00:00
TypingLog iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
CleanupReconstruction.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CleanupTagger.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
CleanupTokenizer.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationLanguage.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
DictationLanguageSwitch.swift iOS: Russian and Serbian (Latin) full-keyboard layouts (#2075) 2026-11-20 17:44:49 +00:00
DictationTranslation.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DotScope.swift iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste (#1999) 2026-11-19 12:20:12 -05:00
DotScopeShader.metal fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmptyCapture.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
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HomeSwipeCue.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
KeyboardBridge.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
KeyboardSurface.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
SpeechModelInstall.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
SpokenCleanupRules.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
TranscriptFormatter.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
UserFacingError.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
VocabularySpelling.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00