问题
Is it possible to turn on field dubug drawing for SpriteKit in Xcode? I mean something like a picture below (it is from WWDC2014, session 608).
回答1:
Add the following to your view controller
Swift:
skView.showsFields = true
ObjC:
skView.showsFields = YES;
来源:https://stackoverflow.com/questions/33712852/is-it-possible-to-turn-on-field-debug-drawing-for-spritekit-in-xcode