Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You need to convert the project and all the views that you created to a template first and then create a new project and use that template. Here is a guide I have used:</p> <p>This guide explains how to create new project templates in Xcode. Project templates appear in the list of project types in the New Project dialog.</p> <p>1.Create a new project and setup everything as you'd like (NIB files, graphics, sounds, settings, code etc)</p> <ol> <li><p>Optionally, build and make sure the project works</p></li> <li><p>Use Finder and locate the project folder for your project you created in step 1</p></li> <li><p>Open another Finder window and navigate to /Library/Application Support/Apple/Developer Tools/Project Templates/. You have two options here:</p> <ul> <li><p>Create a new folder for your custom project templates - this will appear as a category when creating a new project in XCode</p></li> <li><p>Choose an already existing folder (eg Application) - this will place the project template in that category</p></li> </ul></li> </ol> <p>5.Open the new/chosen category folder and create a new folder inside. You can name this new folder whatever you like and it will appear as the project template name.</p> <p>6.Copy all files from the project folder in step 3 to the new template folder created in step 5. </p> <p>7.Try to create a new project in Xcode. You should see your project template in one of the original categories or in the category you created, whichever you decided. Note: If you built the project, delete the build folder from the template folder.</p> <p>Hope this would help you out.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload