mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 15:02:26 +00:00
adding objc-snippets
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: clm
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Class Implementation
|
||||
## condition: "source.objc, source.objc++"
|
||||
# --
|
||||
@implementation ${1:${TM_FILENAME/\...*$|(^$)/(?1:object)/}}
|
||||
- (id)init
|
||||
{
|
||||
if((self = [super init]))
|
||||
{$0
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user