mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 20:34:32 +03:00
Update objective-c.html.markdown
Fixed a few typos
This commit is contained in:
parent
80f97751a2
commit
50ac50f05f
@ -160,7 +160,7 @@ int main (int argc, const char * argv[])
|
|||||||
int jj;
|
int jj;
|
||||||
for (jj=0; jj < 4; jj++)
|
for (jj=0; jj < 4; jj++)
|
||||||
{
|
{
|
||||||
NSLog(@"%d,", ii++);
|
NSLog(@"%d,", jj++);
|
||||||
} // => prints "0,"
|
} // => prints "0,"
|
||||||
// "1,"
|
// "1,"
|
||||||
// "2,"
|
// "2,"
|
||||||
@ -256,7 +256,7 @@ int main (int argc, const char * argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Constructors are a way of creating classes
|
// 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
|
- (id)init
|
||||||
{
|
{
|
||||||
if ((self = [super init]))
|
if ((self = [super init]))
|
||||||
|
Loading…
Reference in New Issue
Block a user