Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ranmyfriend/ebb1fb25fe3347f95597f406010a6fc6 to your computer and use it in GitHub Desktop.
Save ranmyfriend/ebb1fb25fe3347f95597f406010a6fc6 to your computer and use it in GitHub Desktop.
Count lines of code in SWIFT Xcode project
1. Open Terminal
2. cd to your Xcode project
3. Execute the following when inside your target project:
find . -name "*.swift" -print0 | xargs -0 wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment