-
Notifications
You must be signed in to change notification settings - Fork 389
Migrate old UIKIt Introspect from Cocoapods to Swift package manager #469
-
Description
Hi,
I am using UIKIt Introspect in my iOS project via cocoapods. I am trying migrate to Swift Package Manager (SPM).
I added SwiftUIIntrospect package via SPM, but SwiftUIIntrospect does not have old methods which was present in old UIKIt 'Introspect'.
In my code I am using old UIKIt methods like Introspect.findAncestor(ofType: UITableView.self, from: view)
and tried to import Introspect
, but Introspect is not found.
Is old UIKit Introspect is unavailable? Is there any way I can use UIKit Introspect vis SPM?
Checklist
- I have read the README before submitting this report.
- This issue hasn't been addressed in an existing GitHub issue or discussion.
Expected behavior
UIKit Introspect should be available as Swift Package, But only available in cocoa-pods.
Actual behavior
UIKit Introspect is not available as Swift package
Steps to reproduce
No response
Version information
No response
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions
Unfortunately, there is no migration documentation.
Try to use import SwiftUIIntrospect
and start with examples.
Replies: 1 comment
-
Unfortunately, there is no migration documentation.
Try to use import SwiftUIIntrospect
and start with examples.
Beta Was this translation helpful? Give feedback.