Overview
Add the following to ~/.lldbinit and examine Swift objects in LLDB with “mp myobject” for both iOS and macOS, including those in NSView for macOS.
command regex mp 's/(.+)/expr Swift.print(%1)/'
Read on for more info
Goodbye po
I wanted to share a quick tip I discovered that allowed me to more easily examine objects.