2016年2月24日

摘要: 转自:http://lyleloft.lofter.com/post/c1a7d_5a22f21 Ubuntu中自带的ibus输入法,我已经忍了很久了,切换麻烦,响应慢。终于无可忍了。本来想换fcitx的五笔的,无意间发现了中州韵,网上评论还很高就安装试一试,果然是挺好用的。 step1: 输入命令 阅读全文
posted @ 2016-02-24 23:09 a0000 阅读(1903) 评论(1) 推荐(1) 编辑

2016年1月25日

摘要: 参考:http://www.cocoachina.com/industry/20140818/9401.htmlhttp://blog.csdn.net/zhaoxy_thu/article/details/17277527iOS 9 安装企业包 没有了信任按钮 需要手动设置为信任http://ww... 阅读全文
posted @ 2016-01-25 10:21 a0000 阅读(160) 评论(0) 推荐(0) 编辑

2016年1月18日

摘要: Mac下如何显示隐藏文件 缺省情况下,在 Mac 下是不显示隐藏文件的,Finder 也未提供设置是否显示隐藏文件的选项,不像 Windows 下,有一个“文件夹选项“设置界面里可以控制,但这并不表示 Mac 下无法显示隐藏文件,我可以通过“终端”,用命令行设置这个选项,命令如下: 显示:defau 阅读全文
posted @ 2016-01-18 17:53 a0000 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 转自: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... 阅读全文
posted @ 2016-01-18 16:21 a0000 阅读(305) 评论(0) 推荐(0) 编辑

2016年1月16日

摘要: obj-c double类型显示去掉多余的0 double someNumber = 2.000; NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setNumberStyle:NSNumberF 阅读全文
posted @ 2016-01-16 00:51 a0000 阅读(446) 评论(0) 推荐(0) 编辑

2016年1月15日

摘要: iOS查看是iPhone几:iOS - How to get device make and model?#import // import it in your header or implementation file.+ (NSString*) deviceName{ struct u... 阅读全文
posted @ 2016-01-15 16:51 a0000 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 转自:Android Studio stuck on “Gradle: resolve dependancies '_debugCompile'” or 'detachedConfiguration1'Mac android studio卡在编译的地方 阅读全文
posted @ 2016-01-15 14:52 a0000 阅读(487) 评论(0) 推荐(0) 编辑

2016年1月12日

摘要: XToDoxcode 中使用//TODO:github项目地址Auto-Importer自动导包github项目地址Xcode常用插件大法 阅读全文
posted @ 2016-01-12 14:52 a0000 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 转自:https://zh.wikipedia.org/wiki/Include防範iOS 定义头文件 Include防范#ifndef H_GRANDFATHER#define H_GRANDFATHER struct foo { int member;}; #endif 阅读全文
posted @ 2016-01-12 11:45 a0000 阅读(300) 评论(0) 推荐(0) 编辑

2016年1月9日

摘要: 转自:http://www.2cto.com/kf/201412/362291.html单例模式在iOS开发中可能算是最常用的模式之一了,但是由于oc本身的语言特性,想要写一个正确的单例模式相对来说比较麻烦,这里我就抛砖引玉来聊一聊iOS中单例模式的设计思路。关于单例模式更多的介绍请参考这篇文章。单... 阅读全文
posted @ 2016-01-09 15:56 a0000 阅读(337) 评论(0) 推荐(0) 编辑

导航