摘要:参考:http://www.cocoachina.com/industry/20140818/9401.htmlhttp://blog.csdn.net/zhaoxy_thu/article/details/17277527iOS 9 安装企业包 没有了信任按钮 需要手动设置为信任http://ww...
阅读全文
摘要:Mac下如何显示隐藏文件 缺省情况下,在 Mac 下是不显示隐藏文件的,Finder 也未提供设置是否显示隐藏文件的选项,不像 Windows 下,有一个“文件夹选项“设置界面里可以控制,但这并不表示 Mac 下无法显示隐藏文件,我可以通过“终端”,用命令行设置这个选项,命令如下: 显示:defau
阅读全文
摘要:转自:How do i use UIScrollView in StoryboardI'm answering my own question because I just spent 2 hours to find the solution and StackOverflow allows thi...
阅读全文
摘要:obj-c double类型显示去掉多余的0 double someNumber = 2.000; NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setNumberStyle:NSNumberF
阅读全文
摘要:iOS查看是iPhone几:iOS - How to get device make and model?#import // import it in your header or implementation file.+ (NSString*) deviceName{ struct u...
阅读全文
摘要:XToDoxcode 中使用//TODO:github项目地址Auto-Importer自动导包github项目地址Xcode常用插件大法
阅读全文
摘要:转自:https://zh.wikipedia.org/wiki/Include防範iOS 定义头文件 Include防范#ifndef H_GRANDFATHER#define H_GRANDFATHER struct foo { int member;}; #endif
阅读全文
摘要:转自:http://www.2cto.com/kf/201412/362291.html单例模式在iOS开发中可能算是最常用的模式之一了,但是由于oc本身的语言特性,想要写一个正确的单例模式相对来说比较麻烦,这里我就抛砖引玉来聊一聊iOS中单例模式的设计思路。关于单例模式更多的介绍请参考这篇文章。单...
阅读全文
摘要:转自http://ixhan.com/2011/12/high-efficiency-xcode/周一参加了 iOS Tech Talk Bejing 有个session中演示了一招加快debug效率的方式, 觉得非常好. 在此也分享下我常用的技巧方便提升大家的工作效率基础篇control +com...
阅读全文