Skip to content

Instantly share code, notes, and snippets.

@satishbabariya
Created November 22, 2017 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satishbabariya/36188d94703833f6bd8d32db7aa3042d to your computer and use it in GitHub Desktop.
Save satishbabariya/36188d94703833f6bd8d32db7aa3042d to your computer and use it in GitHub Desktop.
Convert Objective C files to Swift in whole Project
#!/bin/bash
cd "$(dirname "$0")"
files=($(find . -type f -regex "^.*m"))
for item in ${files[*]}
do
objc2swift $item
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment