summaryrefslogblamecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/objc-mode/prop
blob: 4d585dbbdcef17e8a6199672e8eb54d5f23fc8d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                             
#name : foo { ... } ; setFoo { ... }
# --
- (${1:id})${2:foo}
{
    return $2;
}

- (void)set${2:$(capitalize text)}:($1)aValue
{
    [$2 autorelease];
    $2 = [aValue retain];
}
$0