hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel c5a74dbdfe iOS keyboard: nothing heavy before the keys' first frame
TestFlight build 56 (AD4gTl68aP78, iPhone 15 Pro Max, iOS 27.2): switching to Hex
showed only empty panels, then iOS went back to the previous keyboard. Until a
keyboard's first frame iOS shows an empty panel, and it drops a keyboard that is
slow to draw or ends while starting. The keyboard did device-only blocking work on
that path:

- viewDidLoad called AVAudioSession setAllowHapticsAndSystemSoundsDuringRecording
  synchronously on the main thread (an audio-server round trip). It now runs once
  per process on KeyboardLocalDictation's audio-session queue, before any
  dictation's session work on that same serial queue.
- viewDidAppear queued the text checker warm-up, Apple Speech's language listing
  and the capture page's WKWebView with DispatchQueue.main.async, which the run
  loop can service before the first Core Animation commit. They now run from
  KeyboardLaunchWork: the text checker and lexicon 0.3 s after appearing, then the
  optional work (Speech and Translation language lists, capture page) at 0.6 s,
  only while iOS reports 32 MB of headroom (or none, as in the simulator) and never
  after a memory warning. Both are cancelled when the keyboard hides. Translation's
  language list no longer starts from viewDidLoad's first bridge sync.

Not reproduced in the iOS 27.2 simulator on 2ef08aa4 or d23acdf8 (French alone,
English, English+Spanish, French+English; Full Access on and off; Safari and Hex
Settings > Keyboard), so the device cause is not confirmed. Release peak footprint
there was 30-31 MB for every language; French loads no typing model.

Verified: xcodebuild test on an iPhone 15 Pro Max iOS 27.2 simulator, 524 tests,
0 failures, 1 skipped (new KeyboardBridgeTests case for the launch budget); the
keyboard comes up in Safari and in Hex's own test field with French, and the
capture page is still prepared after the first frame (probe log).
2026-11-21 08:28:20 -05:00
..
Emoji iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
AccentPicker.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
AdaptiveTouch.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
AdaptiveTouchLabels.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
AutocorrectEngine+Dictionaries.swift iOS: text replacements fire like the system's and stay put, and no stray capitals from suggestions (#2173) 2026-11-21 06:10:45 -05:00
AutocorrectEngine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
DeleteWordSwipe.swift iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
FullKeyboardEngine+SwipeTyping.swift iOS: text replacements fire like the system's and stay put, and no stray capitals from suggestions (#2173) 2026-11-21 06:10:45 -05:00
FullKeyboardEngine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
FullKeyboardPalette.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
FullKeyboardSettings.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
FullKeyboardView+Emoji.swift iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
FullKeyboardView.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
GermanCapitals.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
GreekTyping.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
HexKeyGesture.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
HexKeyViews.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
KeyboardBackdropView.swift iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID (#2139) 2026-11-21 03:45:47 +00:00
KeyboardClipboard.swift iOS: a handoff to Hex can't leave the keyboard stuck, and dismissed dictations still deliver (#2163) 2026-11-21 08:31:48 +00:00
KeyboardKeyPlaneView.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
KeyboardLanguage.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
KeyboardLaunchWork.swift iOS keyboard: nothing heavy before the keys' first frame 2026-11-21 08:28:20 -05:00
KeyboardLayout.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
KeyboardStripView.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ShiftStateMachine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
SwipeDecoder.swift iOS: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00:00
SwipeTyping.swift iOS: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00:00
TextChecking.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
TypingDecoder.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
TypingJournal.swift iOS: Delete what Hex learned also forgets the words autocorrect learned to keep (#2101) 2026-11-20 21:28:27 +00:00
TypingJournalLearning.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00