hex/ios/HEXKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 8b132c2753 iOS: format dictated lists and spoken line breaks
An X tester asked for spoken bullet and numbered lists to come out
formatted. Settings › Dictation › Format lists (on by default,
DictationListSettings, App Group key settings.dictationFormatLists)
runs SpokenLists inside every style but Verbatim, after the fillers
and before the style's punctuation, in English and Spanish:

- "first … second …" (also 1st/2nd, primero/segundo, en primer lugar),
  "number/step/item/point one …", and "one, … two, …" become 1. lines;
- "bullet", "bullet point", "next item", "dash" (viñeta, guion) said
  twice or more become "- " lines, as the Notes style writes bullets;
- "new line" / "new paragraph" (nueva línea, nuevo párrafo, salto de
  línea) break lines, matching desktop's Labs › Spoken formatting words.

Guards keep prose: markers count up from one, two or more non-empty
items, each marker at a clause start, a bare number needs its comma,
and nouns like "the first time", "second guess", "a new line of",
"bullet points" stay. Casual now keeps a list item's capital.
Desktop has no deterministic list formatter (its OpenCode prompt asks
for "1. …" lists); the numbering matches that.

Verified: xcodebuild test on an iOS 27.2 simulator, 395 tests, 0
failures, including SpokenListsTests (lists in both languages, 62
prose sentences unchanged, lead-in plus list, every style, the
pipeline switch and Lowercase). The list inputs are Apple Speech's
own transcripts of spoken lists (SpeechTranscriber on macOS 27.2).
2026-11-20 21:57:27 -05:00
..
CleanupTagger iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
TypingModel iOS: spatial autocorrect experiment with Google Books models, plus accent and two-letter fixes (#2059) 2026-11-20 16:18:07 +00:00
ContainingAppOpener.swift Open Hex from the iPhone keyboard and show live keyboard setup (#599) 2026-10-31 09:56:02 -07:00
HEXKeyboard.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -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
KeyboardLocalDictation.swift iOS: format dictated lists and spoken line breaks 2026-11-20 21:57:27 -05:00
KeyboardViewController.swift iOS: Emoji and Swipe typing are on by default, under Settings › Keyboard (#2129) 2026-11-21 02:41:15 +00:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00