Updated code templates for easier copying and pasting on an iOS device