What: Français (Canada)'s QWERTY and Français (Suisse)'s QWERTZ are now Apple's
"QWERTY – French" and "QWERTZ – French", the first layout each region lists in
Settings › Keyboards › Add New Keyboard: row 2 is A to L and the apostrophe key,
ten keys a letter wide edge to edge under row 1's; rows 1 and 3, shift, delete
and row 4 stay as they were. The key is the one #2354 added after N on France's
AZERTY, with the same rules: ’ after a letter (' where the field doesn't curl
quotes), ´ anywhere else, holds ` ‘ ’ ' and ¨ ˆ ˋ ´.
- KeyboardLanguage: isFrench (France, Canada, Switzerland); letterRows gives
Canada's QWERTY and Switzerland's QWERTZ their own rows; keyCoordinates puts
their row 2 edge to edge (offsets 0, 0, 1.5).
- FrenchTyping hooks (typeLayoutRules, typesFrenchApostrophe, the label
redraw in textDidChange, the iPad's padRows filter) cover all three French
languages, as frenchElisionFix already did (now reading isFrench).
- France's QWERTY and QWERTZ, and Canada's and Switzerland's other layouts,
stay the plain ones. AutocorrectEngine.swift is untouched.
Why: the follow-up from #2354's table of Apple's layouts: Apple's Canadian
and Swiss French keyboards default to these "– French" layouts.
Verified: Apple's keyboards on iOS 27.2 simulators (iPhone 17 Pro and SE,
upright and turned), black box: row 2's keycaps match Hex's to the pixel on
all eight (Canada and Switzerland x two phones x two orientations), rows 1 to
3 too (SE turned: 0.5 pt on row 3, as on origin/dev). Apple's Swiss key
typed and held exactly as France's (each of the eight held options); Hex's
fr-CH on the 17 Pro and fr-CA on the SE typed "l'hpmme qu'il " as
"l’homme qu’il ", ´ after a space or a digit, and Hex's Swiss holds gave the
same eight characters as Apple's. xcodebuild test on origin/dev 9588830c plus
this change (iPhone 17 Pro, iOS 27.2): 804 tests, 0 failures, 3 skipped.
code-shape passes.