view snippets/text-mode/objc-mode/prop @ 202:0191e8351212

truncate-lines: fix typo Well, this explains why it wasn't working.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Tue, 17 Dec 2019 13:33:45 -0500
parents c01f85c9d597
children
line wrap: on
line source

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

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