# -*- mode: snippet -*- # key: cat # contributor: Translated from TextMate Snippet # name: Category ## condition: "source.objc, source.objc++" # -- @interface ${1:${TM_FILENAME/.*?(\w+).*|.*/(?1:$1:NSObject)/}} (${2:${TM_FILENAME/.*?\w+\W+(\w+).*\..+|.*/(?1:$1:Category)/}}) @end @implementation $1 ($2) $0 @end