Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tangzhen/c9f85abc335406efbf1a61d2855bd5bc to your computer and use it in GitHub Desktop.
Save tangzhen/c9f85abc335406efbf1a61d2855bd5bc 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