add Xcode codesnippets