Skip to content

Files

Latest commit

acfb275 · Oct 19, 2014

History

History
This branch is 269 commits behind thoughtbot/guides:main.

ios

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 19, 2014

iOS Protocol

A guide for making iPhone and iPad apps with aplomb.

Set Up Laptop

Install the latest version of Xcode from the App Store.

Create App

Get Liftoff.

brew tap thoughtbot/formulae
brew install liftoff

Get CocoaPods

[sudo] gem install cocoapods

Create the app.

liftoff
  • Be sure to set an appropriate 2 or 3 letter class prefix.

Set Up App

Get the code.

git clone [email protected]:organization/app.git

Install the app's dependencies.

cd project
pod install

Git Protocol

Follow the normal Git protocol.

Product Review

Follow the normal Product Review protocol.

Code Review

Follow the normal Code Review guidelines. When reviewing others' iOS work, look in particular for:

  • Review that ViewControllers are adhering to SRP
  • Watch for CoreData thread boundary violations
  • Watch for potential retain cycles with blocks
  • Ensure that methods that require parameters are using NSParameterAssert()