Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
xcode_path=$1
# Backup icon
cp "${xcode_path}/Contents/Resources/Xcode.icns" "${xcode_path}/Contents/Resources/Xcode-original.icns"
# Get version
version=`${xcode_path}/Contents/Developer/usr/bin/xcodebuild -version | head -1 | cut -f2 -d' '`
@dcordero
dcordero / .ctags
Created April 10, 2018 09:38
Swift .ctags
--langdef=Swift
--langmap=Swift:+.swift
--regex-swift=/(var|let)[ \t]+([^:=]+).*$/\2/,variable/
--regex-swift=/func[ \t]+([^\(\)]+)\([^\(\)]*\)/\1/,function/
--regex-swift=/class[ \t]+([^:\{]+).*$/\1/,class/
--regex-swift=/protocol[ \t]+([^:\{]+).*$/\1/,protocol/
### Keybase proof
I hereby claim:
* I am dcordero on github.
* I am dcordero (https://keybase.io/dcordero) on keybase.
* I have a public key ASBVRUnEJFbv20bwUsCI5yVm6DKHgruCnLaBhYC2m0rGGAo
To claim this, I am signing this object: