Post

Replies

Boosts

Views

Activity

Comment on Can a UIView object combine the accessibility properties of its children automatically?
Thanks for your response. I have submitted a suggestion in Feedback Assistant just now for an API like accessibilityElement(children: .combine) to be added to UIKit. Until that's added, I'm running with your idea of updating the parent view's accessibility label whenever the text in any of the children changes by means of the stack view, as follows: parentView.accessibilityLabel = stackView.arrangedSubviews.map { $0.accessibilityLabel ?? "" }.joined(separator: " ").
Feb ’23
Comment on Is it possible to build a dynamic framework without the symbols of a static library that it links to?
Thanks for the suggestions 🙏 The three suggestions don't quite work for my setup but the first one gives me confidence that the solution which I have been converging towards isn't all too bad. The best solution that I have been able to come up with – which is similar to your first suggestion – is to create a new dynamic framework DF, link it to StaticLibrary with the -all_load linker flag and then link App, DynamicFramework1 and DynamicFramework2 to DF instead of StaticLibrary.
Dec ’23