原帖地址:http://daidone.diandian.com/post/2011-07-05/2672424
#!/bin/sh
echo "%%%{PBXSelection}%%%"
echo "#pragma mark -"
echo "#pragma mark %%%{PBXSelectedText}%%%"
echo "%%%{PBXSelection}%%%"
http://longtimenoc.com/archives/xcode技巧之userscript