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,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: setprefs
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Write Defaults Value
|
||||
## condition: "source.objc, source.objc++"
|
||||
# --
|
||||
[[NSUserDefaults standardUserDefaults] setObject:${1:object} forKey:${2:key}];
|
||||
Reference in New Issue
Block a user