Skip to main content
100%

Internal API Inspection

✓ Published0🌍 Public
KKevinGutowski
Last edited Jun 17, 2020
Created on Jun 17, 2020

This example visualizes the internal structure of an Objective-C object by dumping its class hierarchy, properties, methods, and protocols. It uses the Mocha framework (via `[obj class].mocha()`) to query the runtime and displays the results as a tree through `obj.treeAsDictionary()`. The visualization shows the object’s properties, class methods, instance methods, and protocols, both with and without ancestor inheritance. The data is generated dynamically from the live object, with log output structured for inspection, making it a tool for debugging and exploring API internals.

AI-generated description

Similar vizzes