mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-14 17:42:03 +00:00
Moved objc-mode directory into cc-mode
This commit is contained in:
13
snippets/text-mode/cc-mode/objc-mode/prop
Normal file
13
snippets/text-mode/cc-mode/objc-mode/prop
Normal file
@@ -0,0 +1,13 @@
|
||||
#name : foo { ... } ; setFoo { ... }
|
||||
# --
|
||||
- (${1:id})${2:foo}
|
||||
{
|
||||
return $2;
|
||||
}
|
||||
|
||||
- (void)set${2:$(capitalize text)}:($1)aValue
|
||||
{
|
||||
[$2 autorelease];
|
||||
$2 = [aValue retain];
|
||||
}
|
||||
$0
|
||||
Reference in New Issue
Block a user