This is a sample. See this page to make your own cheat sheet: http://github.com/liyanage/xcode-text-macros/
| Name | Completion Prefix | Shortcut | Cycle List |
|---|---|---|---|
| #If Block | pif | #If Block #If 0 Block #Ifdef Block #If / Else Block #Ifdef / Else Block |
|
| #Import Statement | pim | #Import Statement #Import Statement (System) #Import Statement (Framework) |
|
| #Include Statement | pin | #Include Statement #Include Statement (System) |
|
| #Pragma Mark | pm | ||
| @implementation Definition | @implementation | ||
| @interface Definition | @interface | ||
| @property Declaration - assign | @pra | ||
| @property Declaration - copy | @prc | ||
| @property Declaration - retain | @pr | ⌃P | @property Declaration - retain @property Declaration - assign @property Declaration - copy |
| @protocol Definition | @protocol | ||
| @synthesize Property | @syn | ⌃S | @synthesize Property @synthesize Property, assign ivar |
| @synthesize Property, assign ivar | @syni | ||
| Alloc / Init Call | a | ||
| Array Declaration | aa | ||
| Array For Loop | fora | ||
| Array Foreach Loop | fore | ||
| bind: Declaration | bind | ||
| bind: Definition | bind | ||
| Block Literal | bl | ⌃] | Block Literal Block Literal - With Arguments Block Literal - Comparator |
| Block Literal - Comparator | blc | ||
| Block Literal - With Arguments | bla | ||
| Bracket Expression | ⌃[ | ||
| Case Block | case | ||
| Catch Block | @catch | ||
| Comment Selection | comment | ||
| Copyright Comment | copyright | ||
| dealloc Definition | dealloc | ||
| dispatch_async() to Global Queue | dia | ⌃D | dispatch_async() to Global Queue dispatch_async() to Main Queue dispatch_sync() to Main Queue |
| dispatch_async() to Main Queue | diam | ||
| dispatch_sync() to Main Queue | dis | ||
| Do While Loop | do | ||
| Else Block | else | Else Block Else If Block |
|
| Enum Definition | enum | ||
| Finally Block | @finally | ||
| For Loop | for | For Loop For i Loop |
|
| If Block | if | If Block If / Else Block |
|
| If Block Single Statement | if1 | ⌃I | If Block Single Statement If Block If / Else Block |
| init Definition | init | ||
| Mark !!! | fix2 | ||
| Mark FIXME | fix | ||
| Mark TODO | todo | ||
| Method Declaration - Generic Method | meg | ||
| Method Declaration - IBAction | mei | ||
| Method Declaration - NSString Return Value | mes | ||
| Method Declaration - Return Value no Parameters | me | ⌃H | Method Declaration - Return Value no Parameters Method Declaration - void no Parameters Method Declaration - IBAction Method Declaration - Generic Method Method Declaration - NSString Return Value |
| Method Declaration - void no Parameters | mev | ||
| Method Definition - Generic Method | meg | ||
| Method Definition - IBAction | mei | ||
| Method Definition - NSString Return Value | mes | ||
| Method Definition - Return Value no Parameters | me | ⌃M | Method Definition - Return Value no Parameters Method Definition - void no Parameters Method Definition - IBAction Method Definition - Generic Method Method Definition - NSString Return Value |
| Method Definition - void no Parameters | mev | ||
| Method Parameter | para | ⌃R | |
| Mutable Array Declaration | ma | ||
| NSLog() Call | log | ||
| NSLog() Call | log | ⌃L | NSLog() Call NSLog() Call 1 Argument |
| NSLog() Call 1 Argument | log1 | ||
| NSString With Format | sf | ⌃F | |
| observeValueForKeyPath: Declaration | observeValueForKeyPath | ||
| observeValueForKeyPath: Definition | observeValueForKeyPath | ||
| Parenthesize Selection | |||
| Printf() Call | printf | ||
| Quote Selection | |||
| Release and nil ivar | rel | ||
| Separator Comment | cseparator | ||
| String Literal | ⌃\ | ||
| Struct Definition | struct | ||
| Switch Block | switch | ||
| Try / Catch Block | @try | ||
| Type Definition | typedef | ||
| Union Definition | union | ||
| While Loop | while |