Skip to content

Instantly share code, notes, and snippets.

@TimurAykutYildirim
Created November 29, 2017 05:35
Show Gist options
  • Select an option

  • Save TimurAykutYildirim/ddcdf05f32f7f011a63a9d160e5d1f98 to your computer and use it in GitHub Desktop.

Select an option

Save TimurAykutYildirim/ddcdf05f32f7f011a63a9d160e5d1f98 to your computer and use it in GitHub Desktop.
script for increase/decrease of value in pointSize property from all storyboards and xibs in a project
find . -type f -name '*xib' -o -name '*storyboard' -print0 | xargs -0 perl -pi.back -e 's/pointSize=\"(\d+)/"pointSize=\"" . ($1 + 1)/ge'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment