1、前言
最新还是决下心来换域名啦!从 http://ihtc.cc 换成 https://ihtcboy.com !然后问题就来了,以前文章的链接打开404了,旧域名也访问不通,这样子不行呢!用了2年多的旧域名,在百度谷歌还是积累了一些爬虫,还有很多分享到第三方平台的文章呢!想一想,还是想救一救它!!!
more >>Learn something of everything, Learn everything of something.
最新还是决下心来换域名啦!从 http://ihtc.cc 换成 https://ihtcboy.com !然后问题就来了,以前文章的链接打开404了,旧域名也访问不通,这样子不行呢!用了2年多的旧域名,在百度谷歌还是积累了一些爬虫,还有很多分享到第三方平台的文章呢!想一想,还是想救一救它!!!
more >>就像 Git
有 Submodules
(子模块)共享库的代码,CocoaPods
也有 Subspecs
(子库)的功能,用于共享库的部分代码。
假设我们实现了一个完整的远程私有库 BaseComponent
,可以升级,依赖其他的库,提供给其他人使用,但是现在还有一点问题,其他人如果要用我们的库,就需要把 BaseComponent
完整的克隆过来,但是他可能只需要 BaseComponent
里面的 Network
,其他的扩展、工具等并不想使用,也不想导入过来,怎么办?
有两种方案:
作为一名iOS开发工(ban)程(zhuan)师(gong),只要应用要上线AppStore,总会遇到被苹果拒审的情况!这就是为什么苹果能保持如此优质App市场的原因!爸爸,我错了。。。
注:按时间成本排序
more >>最近开始入门python,当然是要使用PyCharm,然后在项目中遇到.db数据库文件,双击打不开?网上找到了windows版本的教程,版本也比较旧,所以有空就来一发,当备忘也好~
more >>判断字符串是否为空的情况,一般判断的逻辑如下:
在某书看到如下代码:
1 | @interface NSString (Util) |
NSString的boolValue
之前有使用,但是一直没有真正了解什么时候返回YES(true)或NO(false)。其实,苹果在官方文档中已经写的很清楚,按command
+ control
点击boolValue
进入文档就可以看到:
more >>boolValue
The Boolean value of the string.Declaration
@property(readonly) BOOL boolValue;Discussion
This property is YES on encountering one of “Y”, “y”, “T”, “t”, or a digit 1-9—the method ignores any trailing characters. This property is NO if the receiver doesn’t begin with a valid decimal text representation of a number.
The property assumes a decimal representation and skips whitespace at the beginning of the string. It also skips initial whitespace characters, or optional -/+ sign followed by zeroes.
最近在使用NSInvocation进行多参数方法调用,结果就崩溃了!signature为nil 和 一直提示找不到方法!!!
method signature argument cannot be nil
崩溃信息:
1 | *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSInvocation _invocationWithMethodSignature:frame:]: method signature argument cannot be nil' |
unrecognized selector sent to instance
崩溃信息:
1 | *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ViewController openView]: unrecognized selector sent to instance 0x10510b1b0' |
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true