Last active
August 29, 2015 14:19
-
-
Save Koze/49fe697a35ad0b3a3e9d to your computer and use it in GitHub Desktop.
Fonts & Colors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Founodation/Foundation.h> | |
// comment | |
/* | |
comment | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Founodation/Foundation.h> | |
/*! | |
comment | |
*/ | |
/*! | |
comment | |
@param ... | |
@return ... | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation> | |
#include <test.h> | |
#define kTest "test" | |
@interface MyObject : NSObject | |
@property (nonatomic, readonly) BOOL flag; | |
@end | |
@implementation MyObject | |
- (instancetype)init | |
{ | |
self = [super init]; | |
if (self) { | |
} | |
return self; | |
} | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface MyObject : NSObject | |
- (void)method; | |
void func(); | |
@end | |
@implementation MyObject | |
- (void)method | |
{ | |
} | |
void func() | |
{ | |
} | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import "MyObject.h" | |
- (void)method | |
{ | |
NSString *string = @"string"; | |
char *c = "string"; | |
int i = 123; | |
NSNumber *number = @(i); | |
NSArray *array = @[number]; | |
NSDictionary *dictionary = @{@"key": number}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
// http://www.example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment