1. Fuco
  2. .emacs.d

Source

.emacs.d / vendor / yasnippet / snippets / objc-mode / prop

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

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