1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-29 17:40:42 +02:00

minor change

This commit is contained in:
Yannick Loriot
2013-08-13 16:50:22 +02:00
parent 3fe1c3c8a5
commit 664d592bc7

View File

@@ -20,6 +20,7 @@ Multi-line comments look like this.
// Imports the Foundation headers with #import // Imports the Foundation headers with #import
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import "MyClass.h"
// Your program's entry point is a function called // Your program's entry point is a function called
// main with an integer return type. // main with an integer return type.
@@ -212,7 +213,7 @@ int main (int argc, const char * argv[])
// Classes And Functions // Classes And Functions
/////////////////////////////////////// ///////////////////////////////////////
// Declare your class in a header(.h) file: // Declare your class in a header(MyClass.h) file:
// Class Declaration Syntax: // Class Declaration Syntax:
// @interface <class name> : <parent classname> // @interface <class name> : <parent classname>
// { // {
@@ -241,7 +242,7 @@ int main (int argc, const char * argv[])
- -
@end @end
// Implement the methods in an implementation (.m) file: // Implement the methods in an implementation (MyClass.m) file:
@implementation UserObject @implementation UserObject