# -*- 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;