Starting a New Project in Xcode
1. Create the Project
- Launch Xcode and choose "Create a new Xcode project" or from within Xcode, Click on File -> New -> Project
![Xcode_launch](https://github.com/codepath/ios_guides/assets/74223402/2cba5b3e-c1e9-4ae3-a91d-5c76cd725930)
- Create an iOS App, and click Next.
![Xcode_selection](https://github.com/codepath/ios_guides/assets/74223402/de13dfad-6f64-4d1a-a2b0-c327a11161fb)
- You'll be presented with a number of options.
-
Product Name - The product name is just the name of your app, e.g., "MyProject"
-
Team - This is tied to your Apple ID. To add your Apple ID, go to Xcode -> Preferences -> Accounts, and click on the + sign on the bottom left.
-
Organization Identifier - By convention, iOS uses reverse domain name notation for identifiers. Type a Unique name -> com.myuniquename
-
Interface - This is how you will be graphically building your user interfaces. Select Storyboard, as it is currently more robust and stable than SwiftUI.
-
Language - Use Swift or Objective-C, depending on your preferences, the course you are enrolled in, or your app requirements.
-
Storage - Leave it as None. Selecting Core Date will add the boilerplate setup code for you.
-
Include Tests - This is optional. Read more about Unit Tests from Apple.
![Xcode_project_details](https://github.com/codepath/ios_guides/assets/74223402/5d3bde1b-f2d2-4325-95db-ea61ae2d3d98)
- When you click Next, you'll be prompted for a location to save it. Enable "Create a Git repository."
![Xcode_git_repo](https://github.com/codepath/ios_guides/assets/74223402/9facbc7d-5a83-4934-9f54-727899139948)
2. Add .gitignore
The .gitignore file will tell git which files to ignore. Here are a few useful .gitignore templates to start with, depending on if you're using Objective-C or Swift.