views:

21

answers:

1

Hello,

I was wondering if there is anyway to count the total number of code lines from an XCode project.

Thank you very much.

A: 

This probably belongs on superuser.com but I see this floating around and use it myself:

find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" ")" -print | xargs wc -l
Joshua Nozzi