TestFlight build 126 (iPhone 15 Pro, iOS 27.3): "attempted to share a link
from x through messages and the swipe to text failed".
What changed: SwipeTyping.needsSpace now treats U+FFFC (the object character a
link card, picture or other attachment puts in the text) like a line break or
opening punctuation: a word swiped right after it goes in with no space.
Before, Hex typed " hello" there; in Messages the word then moves to its own
line under the link card, so that line began with a space. Apple's keyboard
types no space in the same place (black box, iOS 27.2 simulator: Messages'
compose after a pasted link's card, and a UITextView with an inline image
attachment mid-line, "Look \uFFFChello" from Apple vs "Look \uFFFC hello" from
Hex). No other spacing rule changed; this is insertion-side Swift only, not
the decoder #2309 moves to Rust.
What was not changed, and why: Messages' To: field never shows Hex at all (iOS
lists only Apple's keyboards there, as in any namePhonePad field), so a swipe
there is Apple's keyboard's; nothing in Hex can change it.
Verified: real HID swipes on an iOS 27.2 iPhone 15 Pro simulator with Hex's
typing log: after the fix "hello" goes in as "\uFFFChello" in Messages and the
text view, the next swipe still gets its space; swipes below and before the
link card, tap typing and autocorrect ("teh" -> "the") unchanged. One case
added to testASwipedWordFollowsSpacingAndPunctuationAsApplesDoes. Full
xcodebuild test: 856 tests, 0 failures. scripts/code-shape.py passes.