Repository navigation
Example app: adapt to iPhone Duo - #17
Merged
Merged
Conversation
- List tabs (Scanner, Dump, NDEF, Passport) use a two-column split: list on the leading side, details beside it on the open or half-open inner display; a single stack on the outer display. Open details survive folding. - Detail-column stack screens stay inside the safe area, clear of the list. - Empty-state text re-wraps when its column changes width. - The welcome sheet is placed on the leading side and narrowed to stay clear of the fold; the feature list flashes its scroll indicator. - Popovers anchor to their bar items; bar items keep accessibility labels. - Tests cover the split wiring and fold collapse.
UISheetPresentationController.preferredPlacement is not in the iOS 26 SDK that GitHub CI builds with, so the example app failed to compile there.
1.1.2 is already on the App Store; 2.0.0 matches the library tag.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapts the CENFC example app to iPhone Duo, following iphone-duo-skills. Library code is untouched; every change is under
Example/.What changes
UISplitViewController(.doubleColumn,.oneBesideSecondary,.tile): list on the leading side, details beside it, with a "Select a record to see its details." placeholder. On the outer display (compact width) it collapses to the usual single stack. Tools stays a plain stack.preferredPlacement = .leading, iOS 27+) and capped at 440pt wide there, so it and Get Started stay clear of the fold. The feature list flashes its scroll indicator so a short (half-open) sheet shows it scrolls.SceneDelegatefinds the list inside the split.Localizable.xcstrings(en + zh-Hans). Layout uses SnapKit. No device sizes or fold position are hard-coded.Verified (iPhone Duo simulator only)
macos-xcode-beta), run on the iPhone Duo simulator.Not verified