From d87cf9ab857280ec9b6111be4c928a30f8d2f3af Mon Sep 17 00:00:00 2001 From: stanislaw Date: Mon, 25 Nov 2013 02:31:36 +0200 Subject: [PATCH] Shit becomes stuff (address #53) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 48c2b99..2ca2bdd 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ for (int i = 0; i < 10; i++) { * No spaces between parentheses and their contents. ```objc -if (shitIsBad) return; +if (somethingIsBad) return; if (something == nil) { // do stuff @@ -154,21 +154,21 @@ id (^blockName2)(id) = ^ id (id args) { * Dictionary literals should have no space between the key and the colon, and a single space between colon and value. ``` objc -NSArray *theShit = @[ @1, @2, @3 ]; +NSArray *theStuff = @[ @1, @2, @3 ]; -NSDictionary *keyedShit = @{ GHDidCreateStyleGuide: @YES }; +NSDictionary *keyedStuff = @{ GHDidCreateStyleGuide: @YES }; ``` * Longer or more complex literals should be split over multiple lines (optionally with a terminating comma): ``` objc -NSArray *theShit = @[ +NSArray *theStuff = @[ @"Got some long string objects in here.", [AndSomeModelObjects too], @"Moar strings." ]; -NSDictionary *keyedShit = @{ +NSDictionary *keyedStuff = @{ @"this.key": @"corresponds to this value", @"otherKey": @"remoteData.payload", @"some": @"more",