09 2015 档案

摘要:Core Data框架提供的是对象-关系映射功能,可以将Objective-C对象转化成数据,并将这些数据保存到SQLite数据库文件中。此外,Core Data也可以将保存后的数据还原成Objective-C对象。在Core Data中,表格(SQLite)和类(Objective-C)称为实... 阅读全文
posted @ 2015-09-30 16:56 skycore 阅读(120) 评论(0) 推荐(0) 编辑
摘要:题目描述:(链接)Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a fu... 阅读全文
posted @ 2015-09-30 15:22 skycore 阅读(123) 评论(0) 推荐(0) 编辑
摘要:题目描述:(链接)Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are given a targe... 阅读全文
posted @ 2015-09-30 09:54 skycore 阅读(122) 评论(0) 推荐(0) 编辑
摘要:题目描述:(链接)Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted arraynums=[1,1,1,2,2,3],Your function ... 阅读全文
posted @ 2015-09-29 17:54 skycore 阅读(121) 评论(0) 推荐(0) 编辑
摘要:NSURL对象负责以URL的格式保存web应用的位置。对大多数Web服务,URL将包含基地址,Web应用名和需要传达的参数。NSURLRequest对象负责保存需要传送给Web服务器的全部数据,这些数据包括:一个NSURL对象、缓存方案(caching policy),等待Web服务器响应的最长时间... 阅读全文
posted @ 2015-09-29 10:06 skycore 阅读(571) 评论(0) 推荐(0) 编辑
摘要:转载:http://akunamotata.iteye.com/blog/1724416CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 3.0f); progressView.transform = transform;... 阅读全文
posted @ 2015-09-24 16:04 skycore 阅读(1203) 评论(0) 推荐(0) 编辑
摘要:题目描述:(https://leetcode.com/problems/remove-duplicates-from-sorted-array/)Given a sorted array, remove the duplicates in place such that each element a... 阅读全文
posted @ 2015-09-24 15:59 skycore 阅读(113) 评论(0) 推荐(0) 编辑
摘要:刷新整个tableView[self.tableView reloadData];刷新局部cellNSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];[self.tableView reloadRowsAtInde... 阅读全文
posted @ 2015-09-24 15:57 skycore 阅读(299) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示