-
Notifications
You must be signed in to change notification settings - Fork 389
Transitioning from Introspect to SwiftUI-Introspect: Guidance Needed #389
-
Hello everyone,
I'm fairly new to using the SwiftUI-Introspect package and I'm encountering some challenges while migrating from the original Introspect library. I'm seeking advice or resources that could assist in this transition.
Specifically, I'm looking for:
- More detailed documentation or examples that showcase how to replicate the functionality I used with the older Introspect package in SwiftUI-Introspect, particularly for handling UIDatePicker.
- Clarification on whether there's an autocompletion feature in SwiftUI-Introspect that suggests property types during introspection.
For instance, I was utilizing .introspectDatePicker(customize:)
to set minuteInterval
and roundsToMinuteInterval
properties on a UIDatePicker
. How should this be adapted for the new package?
Here's a snippet of the deprecated code causing issues:
imageAnd here's where I'm trying to use autocompletion with .introspect(
:
Any guidance or links to resources would be greatly appreciated, and if there are steps or best practices for porting old functionality to the new package, I'd be grateful to learn about them. Suggestions for improvements in the README or IDE integrations that could help smooth out this learning curve would also be welcome.
Thank you in advance for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
@davdroman any suggestions on this one?
Beta Was this translation helpful? Give feedback.
All reactions
-
Any documentation about how to migrate to the latest version?
Beta Was this translation helpful? Give feedback.