This application can act as a jumpstart for a certain class of iOS applications. It includes:
- A universal app (iPhone and iPad)
- A splash screen (based on this blog post)
- A slide out menu (based on this blog post)
- Pixate for custom styling using CSS
- SASS for managing your CSS styles
- TestFlight for easily dpeloying your app to beta users
To get started, you can clone this repo and push it to your new repo.
mkdir -p ~/src/awesome-new-app
cd ~/src/awesome-new-app
git init .
git remote add template https://github.com/cpetersen/motion-template.git
git fetch template
git checkout -b master template/master
git create githubusername/awesome-new-app
git push origin masterNow update create a config with your custom variables, copy config.yml.example to config.yml
pixate_user: your-email@example.com # optional
pixate_key: your-pixate-key # optional
development:
testflight_api_token: your-testflight-api-token
testflight_team_token: your-testflight-team-token
provisioning_profile: path-to-your-mobileprovision-file # for example ./development.mobileprovision
release:
provisioning_profile: path-to-your-mobileprovision-file # for example ./distribution.mobileprovisioniOS apps (particularly universal apps) must maintain a number of images for icons, app store icons and launch images. This template comes with place holder images, but it also comes with scripts for building all the necessary images from 2 source images.
To create the necessary launch images:
- Create a single 2048x2048 image called
original.pngin theresourcedirectory. cdto theresourcesdirectory- Run the
create-launch-images.shscript.
That will create the following images:
- Default-568h@2x.png
- Default-Landscape@2x~ipad.png
- Default-Landscape~ipad.png
- Default.png
- Default@2x.png
- Default@2x~ipad.png
- Default~ipad.png
To create the necessary icons:
- Create a single 1024x1024 image called
iTunesArtwork@2x.pngin theresourcedirectory. cdto theresourcesdirectory- Run the
create-icons.shscript.
That will create the following images:
- Icon-72.png
- Icon-72@2x.png
- Icon.png
- Icon@2x.png
- iTunesArtwork.png
- iTunesArtwork@2x.png (your original)

