adding useful xcode snippets