github chisel

Command Description iOS OS X 举例
pviews 打印keyWindow的递归视图(description) Yes Yes pviews
pvc 打印keyWindow的递归controller(description) Yes No pvc
visualize Open a UIImage, CGImageRef, UIView, CALayer, NSData (of an image), UIColor, CIColor, or CGColorRef in Preview.app on your Mac. Yes No pviews imageView.image
fv Find a view in the hierarchy whose class name matches the provided regex. Yes No
fvc Find a view controller in the hierarchy whose class name matches the provided regex. Yes No fvc SGRecharge
show/hide Show or hide the given view or layer. You don’t even have to continue the process to see the changes! Yes Yes hide self.topView
mask/unmask Overlay a view or layer with a transparent rectangle to visualize where it is. Yes No mask –color=red –alpha=0.5 self.topView
border/unborder Add a border to a view or layer to visualize where it is. Yes Yes
caflush Flush the render server (equivalent to a “repaint” if no animations are in-flight). Yes Yes
bmessage Set a symbolic breakpoint on the method of a class or the method of an instance without worrying which class in the hierarchy actually implements the method. Yes Yes
wivar Set a watchpoint on an instance variable of an object. Yes Yes
presponder Print the responder chain starting from the given object. Yes Yes
… and many more!