mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
14 lines
635 B
Plaintext
14 lines
635 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: arracc
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Interface: Accessors for KVC Array
|
|
## condition: "source.objc meta.scope.interface, source.objc++ meta.scope.interface"
|
|
# --
|
|
- (void)addObjectTo${1:Things}:(${2:id})anObject;
|
|
- (void)insertObject:($2)anObject in$1AtIndex:(unsigned int)i;
|
|
- ($2)objectIn$1AtIndex:(unsigned int)i;
|
|
- (unsigned int)indexOfObjectIn$1:($2)anObject;
|
|
- (void)removeObjectFrom$1AtIndex:(unsigned int)i;
|
|
- (unsigned int)countOf$1;
|
|
- (NSArray${TM_C_POINTER/(^(.+?)\s*$)?/(?1:$2: *)/})${1/./\l$0/};
|
|
- (void)set$1:(NSArray${TM_C_POINTER/(^(.+?)\s*$)?/(?1:$2: *)/})new$1; |