Post

Replies

Boosts

Views

Activity

Reply to Adapting UICollectionViewCompositionalLayout for iPhoneDuo
Hi thanks for the reply, starting with the assumption that it's simpler if the view controller hierarchy does not change based on changes in size class... as vertical space is shorter on the iPhone Duo vs a standard iPhone, I think it's reasonable to hide one of the vertical sections in the layout (where the infomation is supplementary to the main section) on the iPhone Duo, if the user want's to see it they can unfold to the large display. I suppose the other approach is to return a different layout rather than to adapt in in the sectionProvider based on sizeClass, but then it would probably require manual invalidation (sorry just thinking out loud).
Topic: UIKit SubTopic:
iPhone Duo UIKit Q&A
Sep ’26
Reply to UIKit Container View Controllers and iPhone Duo
Hi, I don't set a primary column on the UISplitViewController, it's managed by the UITabControllerSidebar., the supplementary column provides some insights about user activity (insights). Here's the setup code let splitViewController = UISplitViewController(style: .tripleColumn) // Note. shows supplementary + secondary, hides primary splitViewController.preferredDisplayMode = .automatic let insightColumnVC = InsightColumnController(traitCollection: splitViewController.traitCollection) splitViewController.setViewController(insightColumnVC, for: .supplementary) splitViewController.preferredSupplementaryColumnWidth = 50.0 splitViewController.displayModeButtonVisibility = .automatic let listColumnVC = ListController(traitCollection: splitViewController.traitCollection) // Note: splitViewController will wrap it in a UINavigationController splitViewController.setViewController(listColumnVC, for: .secondary) return splitViewController }
Topic: UIKit SubTopic:
iPhone Duo UIKit Q&A
Sep ’26
Reply to AttributedString (without NS prefix) and Genmoji
The API is this one https://developer.apple.com/documentation/foundation/nsattributedstring/key/4395176-adaptiveimageglyph I had a second look and I saw that I can separate my use of AttributedString encoding/decoding to/from markdown data from where I would employ Genmoji and NSAttributedString so it's to close the ticket. Sorry!
Topic: UI Frameworks SubTopic: General Tags:
Jul ’24
Reply to Adapting UICollectionViewCompositionalLayout for iPhoneDuo
Hi thanks for the reply, starting with the assumption that it's simpler if the view controller hierarchy does not change based on changes in size class... as vertical space is shorter on the iPhone Duo vs a standard iPhone, I think it's reasonable to hide one of the vertical sections in the layout (where the infomation is supplementary to the main section) on the iPhone Duo, if the user want's to see it they can unfold to the large display. I suppose the other approach is to return a different layout rather than to adapt in in the sectionProvider based on sizeClass, but then it would probably require manual invalidation (sorry just thinking out loud).
Topic: UIKit SubTopic:
iPhone Duo UIKit Q&A
Replies
Boosts
Views
Activity
Sep ’26
Reply to UIKit Container View Controllers and iPhone Duo
Hi, I don't set a primary column on the UISplitViewController, it's managed by the UITabControllerSidebar., the supplementary column provides some insights about user activity (insights). Here's the setup code let splitViewController = UISplitViewController(style: .tripleColumn) // Note. shows supplementary + secondary, hides primary splitViewController.preferredDisplayMode = .automatic let insightColumnVC = InsightColumnController(traitCollection: splitViewController.traitCollection) splitViewController.setViewController(insightColumnVC, for: .supplementary) splitViewController.preferredSupplementaryColumnWidth = 50.0 splitViewController.displayModeButtonVisibility = .automatic let listColumnVC = ListController(traitCollection: splitViewController.traitCollection) // Note: splitViewController will wrap it in a UINavigationController splitViewController.setViewController(listColumnVC, for: .secondary) return splitViewController }
Topic: UIKit SubTopic:
iPhone Duo UIKit Q&A
Replies
Boosts
Views
Activity
Sep ’26
Reply to AttributedString (without NS prefix) and Genmoji
The API is this one https://developer.apple.com/documentation/foundation/nsattributedstring/key/4395176-adaptiveimageglyph I had a second look and I saw that I can separate my use of AttributedString encoding/decoding to/from markdown data from where I would employ Genmoji and NSAttributedString so it's to close the ticket. Sorry!
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to What’s New with Apple Developer Forums
Could you give some guidelines on when to use the forums and when to use Feedback Assistant. For forum posts I'm interested in I see replies like "it is best to share your thoughts about new features and feature requests via http://feedbackassistant.apple.com/ where the relevant teams would be able to evaluate such requests."
Replies
Boosts
Views
Activity
Jun ’24