github上的代码会持续更新,欢迎到github( https://github.com/chenliangloveyou/EasyShowView )。如果喜欢,欢迎给个start。
使用方法:
/** * 显示一个加载框 * text:需要显示加载框的字体 * imageName:需要显示加载框的图片名称 * superview:加载框所需要的父视图(如果不传会放到window和topviewcontroller上面,论文,在EasyShowOptions里指定) * * 需要自定义的样式可以在EasyShowOptions里设置 */ + (void)showLoding ; + (void)showLodingText:(NSString *)text ; + (void)showLodingText:(NSString *)text inView:(UIView *)superView ; + (void)showLodingText:(NSString *)text imageName:(NSString *)imageName ; + (void)showLodingText:(NSString *)text imageName:(NSString *)imageName inView:(UIView *)superView ; /** * 移除一个加载框 * uperview:加载框所在的父视图。show的时候没有指定父视图。那么隐藏的时候也不用 */ + (void)hidenLoding ; + (void)hidenLoingInView:(UIView *)superView ;,开题报告