PTLViewDebugger helps you debug your views by adding colored borders to your view hierarchy. Just use ptl_showDebugBorder to add a randomly colored border to the view or ptl_identifyViewLayout to add a border to the view hierarchy you’re debugging. If that’s not enough, PTLViewDebugger enhances the private recursiveDescription API so that if you use that while debugging the resulting wall of text is styled with the border colors of each view. Additional utilities are included for visually debugging views using autolayout. Use ptl_identifyViewsWithAmbiguousLayout and ptl_startAutoLayoutDance to easily identify which views have ambiguous layout.




Add the following to your Podfile,

pod 'PTLViewDebugger', '~> 1.2'
Facebook Twitter Google Reddit LinkedIn

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *