Manipulate and generate Xcode templates