Skip to content

Instantly share code, notes, and snippets.

View markflowers's full-sized avatar

Mark Flowers markflowers

  • Skookum Digital Works
  • Charlotte, NC
View GitHub Profile
/*
* Example implementation
*/
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool {
println("Launched with URL: \(url.absoluteString)")
let userDict = self.urlPathToDictionary(url.absoluteString)
//Do something with the information in userDict
source ~/.bash_profile
hash oclint &> /dev/null
if [ $? -eq 1 ]; then
echo >&2 "oclint not found, analyzing stopped"
exit 1
fi
cd "${TARGET_TEMP_DIR}"