# iOSRandomMethod
一個(gè)給iOS 項(xiàng)目添加 隨機(jī)方法的小腳本
使用方法:
添加隨機(jī)方法
./iosRandomMethodScript add /文件目錄 方法個(gè)數(shù)(默認(rèn)5個(gè))
移除隨機(jī)方法
./iosRandomMethodScript rm /文件目錄
例如:
./iosRandomMethodScript add /Users/haha/Documents/git/xueqianzaojiao/xueqianzaojiao/Module 20
給項(xiàng)目xueqianzaojiao? 下面的Module文件夾下的文件 添加20個(gè)隨機(jī)方法?
暫時(shí)還不能遞歸子文件夾添加:建議先把要添加的文件 弄到一個(gè)文件夾下面一次添加 或者在不能目錄下多次執(zhí)行腳本
添加的示例方法是這樣的:
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
+(void)LocalCellNameToolShare;
-(id)ScrollMessageModelHeightVersion:(id)arg1;
-(id)TypeDidAppHistoryAnimation:(id)arg1;
/////RandomMethodTag End/////
@end
@implementation ViewController
+(void)BackCellNameDidShare{
}
-(void)HeightShowHasDeviceClean{
}
-(id)ShowHasDeviceCleanShadow:(id)arg1{
NSArray *obj=[[NSArray alloc]init];
return obj;
}
-(id)ScrollMessageModelHeightVersion:(id)arg1{
NSSet *obj=[[NSSet alloc]init];
return obj;
}
腳本地址? ?覺(jué)得還可以,喜歡給個(gè)星撒?。?/p>