-
Using
Debugger Commond-expression NSLog("Loading friends...")is faster thanLog Messagein a breakpoint -
Open the jump bar of the source editor and type, and you can search function names.
-
Add a
New Run Script Phaseto generate warning forTODOandFIXMETAGS="TODO:|FIXME: find "${SRCROOT}" \( -type f -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" -
Use
expression gift.name = "Xbox"to change a runtime value
Reference: Intermediate Debugging with Xcode 8