01 2015 档案

摘要:本文转载至http://blog.csdn.net/xunyn/article/details/8064984原文地址http://www.189works.com/article-89289-1.htmlMBProgressHUD下载地址是: http://github.com/matej/MBP... 阅读全文
posted @ 2015-01-29 20:44 天牛 阅读(377) 评论(0) 推荐(0)
摘要:本文转载至http://stackoverflow.com/questions/26460706/uialertcontroller-custom-font-size-colorup vote2down votefavorite3I am using new UIAlertController fo... 阅读全文
posted @ 2015-01-26 16:42 天牛 阅读(4387) 评论(0) 推荐(0)
摘要:本文转载至http://www.aichengxu.com/view/35326UIAlertView及UIActionSheet在ios8中被放弃,其功能将完全由UIAlertController代替:1.Alert用法UIAlertController*alert = [UIAlertContr... 阅读全文
posted @ 2015-01-26 00:06 天牛 阅读(235) 评论(0) 推荐(0)
摘要:本文转载至 http://mobile.51cto.com/hot-439095.htm通过itms-services协议,可以通过safari浏览器直接在iOS设备上安装应用程序。利用这种方式,只要在内网布置一个服务器,测试人员只需要通过测试设备的safari浏览器访问特定的url既可以实现安装,... 阅读全文
posted @ 2015-01-24 10:44 天牛 阅读(746) 评论(0) 推荐(0)
摘要:http://www.tekuba.net/program/255/ 阅读全文
posted @ 2015-01-22 00:28 天牛 阅读(148) 评论(0) 推荐(0)
摘要:本文转载至http://www.cocoachina.com/bbs/read.php?tid-237825.html1.在文件info.pilist 中导入NSLocationWhenInUseUsageDescription//IOS8新功能用户开启定位2.appDelegate中带入#imp... 阅读全文
posted @ 2015-01-21 23:54 天牛 阅读(555) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/kqygww/article/details/4127755564-bit and iOS 8 Requirements for New Apps新提交的iOS8 App,64位成为必选项, 2015年2月1号生效October 20, 2014S... 阅读全文
posted @ 2015-01-21 23:51 天牛 阅读(209) 评论(0) 推荐(0)
摘要:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001373962845513aefd77a99f4145f0a2c7a7ca057e7570000 阅读全文
posted @ 2015-01-21 23:42 天牛 阅读(145) 评论(0) 推荐(0)
摘要:本文转载至http://www.baidu.com/link?url=dcQWiL1FD_She6P4RM2IvEeJas0_gtG3LkRNTV5H87X0AyKCHvwYjBz2hdcB2JVpTyMRhl6Hno2FX_U3TEDgZq //1),创建一个对象,赋值为当前日期date 创... 阅读全文
posted @ 2015-01-20 16:28 天牛 阅读(549) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/zhaopenghhhhhh/article/details/24972645有时需要将NSArray中去除重复的元素,而存在NSArray中的元素不一定都是NSString类型。今天想了想,加上朋友的帮助,想到两种解决办法,先分述如下。1.利用N... 阅读全文
posted @ 2015-01-17 15:12 天牛 阅读(485) 评论(0) 推荐(0)
摘要:本文转载至 http://blog.csdn.net/chen505358119/article/details/9344389 CoreData中的NSManagedObjectContext在多线程中不安全,如果想要多线程访问CoreData的话,最好的方法是一个线程一个NSManaged... 阅读全文
posted @ 2015-01-16 12:19 天牛 阅读(234) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/chen505358119/article/details/9190731ios中我们写的代码有时不愿意让别人看到,可能对它进行封装,生成一个静态库如典型的.a,还有一种就是和苹果自带的库一样的后缀名为.framework的库,个人推荐使用.fra... 阅读全文
posted @ 2015-01-16 12:18 天牛 阅读(407) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/chen505358119/article/details/9244701 这里主要讲的是mac中的一些命令,怕忘记了所以记在这里。 1.首先如果两台mac电脑一台想进入另一台的话用ssh执行如下: 上面的autobuild是你想进的电脑的用... 阅读全文
posted @ 2015-01-16 12:17 天牛 阅读(276) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/chen505358119/article/details/9278539 这里我总结了一下数据的存储方式,一是保存在沙盒里创建文件,再把数据写到文件中,二是保存到plist中,三是保存到数据库中. 1.保存到文件中需要借助NS... 阅读全文
posted @ 2015-01-16 12:16 天牛 阅读(178) 评论(0) 推荐(0)
摘要:本文转载至 http://blog.csdn.net/chen505358119/article/details/9289489分类:ios2013-07-10 14:052471人阅读评论(0)收藏举报 从网上下载FMDB的原码,将其拖入到项目中,然后在Link Binary With Lib... 阅读全文
posted @ 2015-01-16 12:14 天牛 阅读(174) 评论(0) 推荐(0)
摘要:本文转载至 http://blog.csdn.net/chen505358119/article/details/9334831分类:ios2013-07-15 18:1212449人阅读评论(0)收藏举报 Core Data数据持久化是对SQLite的一个升级,它是ios集成的,在说Core D... 阅读全文
posted @ 2015-01-16 12:09 天牛 阅读(137) 评论(0) 推荐(0)
摘要:本文转载至http://m.blog.csdn.net/blog/chen505358119/9334831Core Data数据持久化是对SQLite的一个升级,它是ios集成的,在说Core Data之前,我们先说说在CoreData中使用的几个类。 (1)NSManagedObjectMode... 阅读全文
posted @ 2015-01-16 12:06 天牛 阅读(175) 评论(0) 推荐(0)
摘要:本文转载至http://www.tuicool.com/articles/7JBRZn在iOS8以前的版本中,我们使用CLLocationManager定位是没有问题的,最近在iOS8系统中却无法定位了。。。。这是一大问题啊!1、首先定义一个全局的变量用来记录CLLocationManager对象,... 阅读全文
posted @ 2015-01-09 12:16 天牛 阅读(339) 评论(0) 推荐(0)
摘要:#import @interface ViewController : UIViewController{ UIWebView *webView; UISearchBar *searchBar;} @end -(void)loadView{ [super ... 阅读全文
posted @ 2015-01-08 14:00 天牛 阅读(614) 评论(0) 推荐(0)
摘要:本文转载至http://mrjeye.iteye.com/blog/1278521- (void)scrollTableToFoot:(BOOL)animated{ NSInteger s = [self.tableView numberOfSections]; if (s<1) return;... 阅读全文
posted @ 2015-01-06 17:37 天牛 阅读(602) 评论(0) 推荐(0)
摘要:本文转载至http://www.cocoachina.com/ios/20150104/10816.html视觉效果和变换(四)视觉效果嗯,园和椭圆还不错,但如果是带圆角的矩形呢?我们现在能做到那样了么?史蒂芬·乔布斯我们在第三章『图层几何学』中讨论了图层的frame,第二章『寄宿图』则讨论了图层的... 阅读全文
posted @ 2015-01-06 12:33 天牛 阅读(252) 评论(0) 推荐(1)
摘要:本文转载至 http://www.cocoachina.com/ios/20150104/10814.html 图层树、寄宿图以及图层几何学(一)图层的树状结构巨妖有图层,洋葱也有图层,你有吗?我们都有图层 -- 史莱克Core Animat... 阅读全文
posted @ 2015-01-06 12:31 天牛 阅读(204) 评论(0) 推荐(0)
摘要:本文转载至http://blog.csdn.net/ios_che/article/details/8090977设置时间显示格式:NSString*timeStr=@"2011-01-2617:40:50";NSDateFormatter*formatter=[[[NSDateFormattera... 阅读全文
posted @ 2015-01-04 19:59 天牛 阅读(157) 评论(0) 推荐(0)
摘要:本文转载至 http://www.tuicool.com/articles/VZBj2e原文http://itindex.net/detail/52388-框架webmagic的是一个无须配置、便于二次开发的爬虫框架,它提供简单灵活的API,只需少量代码即可实现一个爬虫。官方网站http://web... 阅读全文
posted @ 2015-01-04 17:13 天牛 阅读(429) 评论(0) 推荐(0)
摘要:本文转载至 http://blog.csdn.net/duxinfeng2010/article/details/9004749本节关于RTLable基本介绍,原文来自https://github.com/honcheng/RTLabelRTLabel基于富文本的格式,适用于iOS,类似HTML的标... 阅读全文
posted @ 2015-01-03 15:38 天牛 阅读(431) 评论(0) 推荐(0)