LNViewHierarchyDumper

1.1

Dump your view hierarchies programmatically to Xcode 12 and 13 compatible view hierarchy file archives.
LeoNatan/LNViewHierarchyDumper

What's New

v1.1

2021-09-03T21:27:10Z
  • Added support for Swift Package Manager

LNViewHierarchyDumper

A framework for programmatically dumping the view hierarchy of your app into an Xcode 12 and 13 compatible view hierarchy file archive.

GitHub release GitHub stars GitHub license PayPal Donation Button

GitHub issues GitHub contributors

The framework supports targeting iOS, tvOS and watchOS simulators, hardware devices (with developer image mounted), and macOS and Catalyst (with Xcode installed). Under unsupported targets or environments, the frameworks fails silently.

This framework uses Xcode's internal DebugHierarchyFoundation framework, and is not AppStore safe, thus you should use with care, only linking against it in development/testing scenarios/builds.

Using the framework is very easy:

import LNViewHierarchyDumper

//...

let url = //URL to a directory
try LNViewHierarchyDumper.shared.dumpViewHierarchy(to: url)

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Mar 21 2023 15:13:04 GMT-0500 (GMT-05:00)