- Open Xcode -> Create a new Xcode Project
- Name:
<MyExampleProject>
- Choose the "Single View Template"
- ✔ Include Unit Tests
- ✔ Include UI Tests
- Navigate into the
<my-example-project>
folder - Click Create
- Close Xcode
- Name:
- In your project root directory, create a folder structure that matches the folders in the
Example
folder and copy theExample/Code
folder to your project. It contains some helpers to get you started. - Move all existing project files into their respective folder (i.e.
Info.plist
intoSupportingFiles
andViewController.swift
intoViewControllers
)
- Open the
<MyExampleProject>.xcodeproj
file - Remove all red entries under <MyExampleProject>
- Drag all directories under <MyExampleProject> from Finder to Xcode under
- [✔] Copy Items if needed
- [✔] Create groups
- Remove references to
.gitkeep
Files (in Xcode) in every sub-directory of <MyExampleProject> that already contains a file - Naviagte to the <MyExampleProject> Target and click "Choose Info.plist File..." (at the top)
- Choose
<MyExampleProject>/SuportingFiles/Info.plist
- Choose
- In the App Icons section click "Use Asset Catalog" for App Icons Source
- Use
Assets
Catalog - Don't migrate Launch Image
- Use
- Choose AppIcon instead of AppIcon-2 from drop down
- Navigate to Assets Catalog and remove AppIcon-2 (Xcode... 😫)
- Navigate to Targets -> <MyExampleProject> -> Build Settings
- Search for "Code Signing Resource Rules Path"
- Set the value to
$(SDKROOT)/ResourceRules.plist
- Run
carthage update --platform ios
to install/update all needed dependencies - Run
make gitinit
to setup a new git repo in the project root folder (WARNING: removes any existing git repo in the project root folder) - Update the
Makefile
with your project settings - Update the
.swiftlint.yml
file to include the project root folder - Fill the README
- Delete this TODO section. (And enjoy your fresh and clean Project-setup 🙌)
⚡️ Swift: x.x 📱 iOS x.x 🌎 API Docs
Project description in 1-5 sentences.
[Screenshots]
TODO
Where do I find API docs, wireframes, etc.?