Swiftpack.co - LeoNatan/LNViewHierarchyDumper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
LeoNatan/LNViewHierarchyDumper
Dump your view hierarchies programmatically to Xcode 12 and 13 compatible view hierarchy file archives.
.package(url: "https://github.com/LeoNatan/LNViewHierarchyDumper.git", from: "1.1")

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)

GitHub

link
Stars: 8
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

v1.1
3 weeks ago
  • Added support for Swift Package Manager

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics