mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 07:22:25 +00:00
adding objc-snippets
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: acc
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Interface: Accessors for Primitive Type
|
||||
## condition: "source.objc meta.scope.interface, source.objc++ meta.scope.interface"
|
||||
# --
|
||||
- (${1:unsigned int})${2:thing};
|
||||
- (void)set${2/./\u$0/}:($1)new${2/./\u$0/};
|
||||
Reference in New Issue
Block a user