Post

Replies

Boosts

Views

Activity

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
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: " ").
Topic: UI Frameworks SubTopic: UIKit Tags:
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 advice 👍 MobileTen's suggested fixes don't quite work for my setup but the first of his/her suggestions has given me confidence in the solution that I have been converging towards. I'll post an answer in this thread that summarises my solution.
Replies
Boosts
Views
Activity
Dec ’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.
Replies
Boosts
Views
Activity
Dec ’23
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: " ").
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Comment on How do I dismiss the DatePicker popup in UI tests that are running on iOS 16 devices?
This works 🙌 Thank you 🙏
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Cannot dismiss date pickers in iOS 11.3.1 in UI automated tests
Sadly, calling application.datePickers["DatePicker"].tap() to dismiss the DatePicker does not work on iOS 16 devices. I have created a new forum thread for the issue here.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Cannot dismiss date pickers in iOS 11.3.1 in UI automated tests
The XCUIEelement class – the class that we use to interact with elements in UI tests – does not have a dismiss() or done() function. How are you calling DatePicker.dismiss() and NavigationBar.done() in UI tests? Please explain.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’22