摘要:
.h #import <UIKit/UIKit.h> @interface UIColor (WJ) + (UIColor *)colorWithWJString:(NSString *)color; //从十六进制字符串获取颜色, //color:支持@“#123456”、 @“0X123456”
阅读全文
posted @ 2016-05-08 23:02
一颗大牛的心
阅读(392)
推荐(0)
编辑
摘要:
本来想用SVProgressHUD 但是由于这个需求相对要简单 所以自己写了 下面上代码 .h 文件 #import <UIKit/UIKit.h> @interface HaveNoMore : UIView + (instancetype)sharedHaveNoMoreView; @prope
阅读全文
posted @ 2016-05-08 22:44
一颗大牛的心
阅读(976)
推荐(0)
编辑
摘要:
因为沙盒中的音频保存的是路径 所以转为 URL 要用NSURL *url = [[NSURL alloc] initFileURLWithPath:@"sandBoxPath"]; 不可以用 NSURL *url = [NSURL URLWithString];
阅读全文
posted @ 2016-05-08 22:28
一颗大牛的心
阅读(367)
推荐(0)
编辑