ROCKET CODING GUIDE

Objective-C

A lot of this is based on the ZDS Style Guide

[pants thisIsMy:fancy
         method:trucks
           isOK:NO];

Instead put it all on one line and let Xcode wrap it for you.

[pants thisIsMy:fancy method:trucks isOK:YES];

There are exceptions to the above rule: dictionaryWithObjectsAndKeys: should have one line per object and key pair and the trailing nil should also be on its own line. Just use your best judgement here.

+ (NSArray *) allInGallery:(GGallery *)aGallery

and let that method do the Active Record for Core Data fetch.

Git

Ruby

Rails