为您找到相关结果48个

iOS 通讯录编程【总结】 - Lai18.com IT技术文章收藏夹

[inputFormatter setDateFormat:@"yyyy-MM-dd"]; NSDate* inputDate = [inputFormatter dateFromString:contact.birthday]; ABRecordSetValue(person, kABPerson...
www.lai18.com/content/6460...html 2017-2-14

iOS开发下载文件速度计算(刚刚) - Lai18.com IT技术文章收藏夹

[code] //计算一秒中的速度 downTask.totalRead += bytesRead; //获取当前时间 NSDate *currentDate = [NSDate date]; //当前时间和上一秒时间...
www.lai18.com/content/82724...html 2015-7-28

AFNetworking请求各种类型的数据备忘笔记 - Lai18.com IT技术文章...

145. NSString *fileName = [formatter stringFromDate:[NSDate date]]; 146. 147. [formData appendPartWithFileURL:fileURL name:@"uploadFile" fileName:...
www.lai18.com/content/100234...html 2017-1-23

iPhone开发【十七】多线程开发之NSOperation&NSOperation...

done){ [[NSRunLoop currentRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]; } } } } -(void)httpConnectEndWithError{ //...
www.lai18.com/content/4937...html 2012-11-29

Photos(PHAsset) - Lai18.com IT技术文章收藏夹

/// 像素宽 public var pixelWidth: Int { get } /// 像素高 public var pixelHeight: Int { get } /// 创建时间 public var creationDate: NSDate? ...
www.lai18.com/content/24471...html 2017-2-18

iPhone开发【十五】多线程开发之NSThread——异步下载图片 - Lai...

done){ //NSLog(@"doing.."); [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]; } } //生成UIImage...
www.lai18.com/content/4937...html 2012-11-24

让iOS开发变得更有效率-分类、工具类 - Lai18.com IT技术文章收藏夹

+ (NSDate *)fireDateWithWeek:(NSInteger)week hour:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second; //本地发送推送(先取消上一个 再...
www.lai18.com/content/245872...html 2017-1-25

'Invalid parameter not satisfying: date - Lai18.com IT...

参考http://stackoverflow.com/questions/572132/nsdate-and-nsdateformatter-issues这篇文章,在结合自己遇到的问题,是自己转换格式不统一造成的错误。
www.lai18.com/content/11839...html 2013-9-12