Skip to main content

SwiftUI Introspect

SwiftUI Introspect enables developers to access underlying UIKit or AppKit components from within SwiftUI views.

Details

URL: 🔗 https://github.com/siteline/swiftui-introspect

Authors: 🔗 List of Contributors

Tags:
SwiftUI, introspection, UIKit, AppKit

Key Points​

  • SwiftUI Introspect facilitates accessing UIKit or AppKit elements embedded within SwiftUI views.
  • It employs invisible views to introspect elements like UITableView or UINavigationController for customization.
  • Developers can opt-in to specific OS versions to ensure compatibility across updates.

Summary of Contents​

  • Introduction: Introduction to SwiftUI Introspect and its purpose in bridging SwiftUI with UIKit/AppKit.
  • How it works: Details the method of adding invisible views to introspect underlying components.
  • Usage in production: Assurance of stability and non-invasive inspection methods.
  • Install: Installation instructions via Swift Package Manager and CocoaPods.
  • Introspection: Lists components that can be introspected with links to detailed documentation.
Go to Github Repository→