🦅A tool for debugging the view hierarchy
Eagle is basically an extension to the UIViewController
class that presents a list with the view hierarchy
(an image and name of each view) upon a shake gesture or upon calling the method 🦅()
in lldb.
You can simply copy and paste the Eagle.swift
file to you project and it just works.
Shake the device (or simulate it with cmd + ctrl + z
in the simulator) and a view controller will appear with
a list of the subviews of the top view controller's view
.
If you prefer, you can also call e 🦅()
in lldb if your breakpoint is inside a UIViewController
subclass.