Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
194 B

  1. # name: foo { ... } ; setFoo { ... }
  2. # key: prop
  3. # --
  4. - (${1:id})${2:foo}
  5. {
  6. return $2;
  7. }
  8. - (void)set${2:$(capitalize text)}:($1)aValue
  9. {
  10. [$2 autorelease];
  11. $2 = [aValue retain];
  12. }
  13. $0