adding objc-snippets

This commit is contained in:
capitaomorte
2010-03-14 15:30:22 +00:00
parent c11379e768
commit efa4d6e481
52 changed files with 547 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: array
# contributor: Translated from TextMate Snippet
# name: NSArray
## condition: "source.objc, source.objc++"
# --
NSMutableArray${TM_C_POINTER: *}${1:array} = [NSMutableArray array];

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: dict
# contributor: Translated from TextMate Snippet
# name: NSDictionary
## condition: "source.objc, source.objc++"
# --
NSMutableDictionary${TM_C_POINTER: *}${1:dict} = [NSMutableDictionary dictionary];

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: bez
# contributor: Translated from TextMate Snippet
# name: NSBezierPath
## condition: "source.objc, source.objc++"
# --
NSBezierPath${TM_C_POINTER: *}${1:path} = [NSBezierPath bezierPath];
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# key: format
# contributor: Translated from TextMate Snippet
# name: NSString With Format
## condition: "source.objc, source.objc++"
# --
[NSString stringWithFormat:@"$1", $2]$0