This is a draft cheat sheet. It is a work in progress and is not finished yet.
C Language Basics
Data-Type |
short int float long double |
Branch-Structure |
if...else switch...case |
Loop-Structure |
while do...while for for...in |
|
|
Class Implementation
@implemention ClassName
- (type) objectMethod{
return type;
}
+ (type) classMethod{
return type;
}
@end
|
Class Declaration
@interface ClassName : NSObject{
Type memberVariable;
}
@property Type memberProperty;
- (type) objectMethod;
+ (type) classMethod;
@end
|
|
|
|
|
|