diff options
| author | Adam Bard <github@adambard.com> | 2013-08-16 08:46:59 -0700 | 
|---|---|---|
| committer | Adam Bard <github@adambard.com> | 2013-08-16 08:46:59 -0700 | 
| commit | ad899184da6282784bb0535e9863b6d80cc8987f (patch) | |
| tree | fc707f04634df86a1f5eca80a91295d859022edb | |
| parent | fc0ec0b55f31c9ceb31c76d27597cdc110e3c942 (diff) | |
| parent | 50ac50f05f82c3b3069329634f373c1ba55263c0 (diff) | |
Merge pull request #235 from sevab/master
Update objective-c.html.markdown
| -rw-r--r-- | objective-c.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/objective-c.html.markdown b/objective-c.html.markdown index 2b1b3c67..b92e3218 100644 --- a/objective-c.html.markdown +++ b/objective-c.html.markdown @@ -160,7 +160,7 @@ int main (int argc, const char * argv[])      int jj;      for (jj=0; jj < 4; jj++)      { -        NSLog(@"%d,", ii++); +        NSLog(@"%d,", jj++);      } // => prints "0,"         //           "1,"        //           "2," @@ -256,7 +256,7 @@ int main (int argc, const char * argv[])  }  // Constructors are a way of creating classes -// This is a default constructor which is call when the object is creating +// This is a default constructor which is called when the object is creating  - (id)init  {      if ((self = [super init])) | 
