Xcode: Number of lines

I’ve been unable to figure out how to do this, actually, within Xcode. But this can also be accomplished by means of this short script:

[cc lang=”bash”]find . “(” -name “*.m” -or -name “*.mm” -or -name “*.cpp” “)” -print | xargs wc -l[/cc]

%d