Learn something of everything, Learn everything of something.
经常服务器返回的数据,有null,还有nil,如果在模型层不处理的话,到时候数据展现时,一定会崩啊,最近决心要解决这个问题,所以查看了一些资料后,有答案了:
1 | - (id) setNoNull:(id)aValue{ |
这个方法,可以把null和nil赋空值,这样字符串操作时,就不会崩了,同时,如果解析成数值,也可以改写为@0
more >>搜索了2个小时,上传了5个版本后,终于解决了。网上是这样说的:
more >>http://stackoverflow.com/questions/26163856/invalid-swift-support-invalid-implementation-of-swift
1、重启Xcode,clean build
2、重启Mac OSX
3、换个新版本Xcode
3.8 Details
The rating you’ve selected, 4+, is inconsistent with the content of your app. Since your app includes content or features that pertain to alcohol, your ratings must reflect a “Frequent/Intense” setting for “Alcohol, Tobacco, or Drug Use or Reference” in iTunes Connect.
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