Skip to content

Migrate old UIKIt Introspect from Cocoapods to Swift package manager #451

@ankushkushwaha

Description

@ankushkushwaha

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions