-
Notifications
You must be signed in to change notification settings - Fork 472
New Project
Kabir Dhillon edited this page Oct 19, 2023
·
14 revisions
-
Launch Xcode and choose "Create a new Xcode project" or from within Xcode, Click on File -> New -> Project
-
Create an iOS App, and click Next.
-
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 which course you are enrolled in or on your app requirements.
- Use Core Data - It will add the boilerplate Core Data setup code for you. Leave it unchecked.
- Include Tests - This is optional. Read more about Unit Tests from Apple.
-
When you click Next, you'll be prompted for a location to save it. Enable "Create a Git repository."
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.