Ever wondered how many lines of code you’ve written? Try this command in a shell:

find . -name “*” | xargs wc -l

Of course you must move to the projects’ directory first. I looked for an addon for XCode but realized it’s not needed. If you’re a windows junkie, install an add-on to VS or install Cygwin to get the *nix experience!

My iPhone project was 4164 lines. That include comments of course. But it’s also just for the client app. There’s a bunch of C# web service and sql code in the back end. How many lines is your iPhone app?

Related posts