You can set the NSShowAllViews default value to have every view outlined. Nested views get outlined in different colors.Set it "permanently" via
% defaults write com.apple.TextEdit NSShowAllViews YES(or whatever your application identifier is), or use the one-shot version:/Developer/Applications/Xcode.app/Contents/MacOS/Xcode -NSShowAllViews YES