Yack. Ack for Objective-C developers.
Yack is a super-set of ack, the popular grep-replacement tool maintained by Andy Lester. It introduces new functionality designed to improve the workflow of Objective-C developers everywhere.
git clone git@github.com:gsheld/yack.git # clone repository
ln -s yack/yack.sh /usr/local/bin/yack # sym-link yack to binyack --sel "setObject:forKey:" # example of a well-formed selector
yack --sel "(void)fooBar:(NSString *)string baz:(NSInteger)integer;" # method signatureYack will search both the header and implementation files for each import of the specified file.
yack -j "foo" ./YCKSomeObjCFile.m
yack --imports "bar" ./YCKSomeOtherObjCFile.hyack -i --ignore-dir=tmp/ "foo bar"
yack -o -Q "foo\s?bar"yack -Q --imports "bar" ./YCKSomeOtherObjCFile.h
yack -i -l --sel "(void)fooBar:(NSString *)string baz:(NSInteger)integer;"- Fork it!
- Create your feature branch:
git checkout -b my-new-yack-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-yack-feature - Submit a pull request!