摘要:
MJExtension使用指导(转) MJExtension能做什么? MJExtension是一套字典和模型之间互相转换的超轻量级框架 MJExtension能完成的功能 字典(JSON) --> 模型(Model) 模型(Model) --> 字典(JSON) 字典数组(JSON Array) 阅读全文
摘要:
我们知道, 如果需要将UIView的4个角全部都为圆角,做法相当简单,只需设置其Layer的cornerRadius属性即可(项目需要使用QuartzCore框架)。而若要指定某几个角(小于4)为圆角而别的不变时,这种方法就不好用了。 对于这种情况,Stackoverflow上提供了几种解决方案 。 阅读全文
摘要:
platform :ios, '8.0' use_frameworks! target 'MyApp' do pod 'AFNetworking', '~> 2.6' pod 'SwiftyJSON', '~> 2.3' end 这样就基本OK了,执行pod install / pod update 阅读全文
摘要:
回到某一个节点git reset --hard 5db4eddeca2然后把现在这个节点,强行推送到远端git push -f origin master 阅读全文
摘要:
select * FROM aa where parent = %@ ORDER BY cast(seq as integer) ASC 阅读全文
摘要:
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibility... 阅读全文
摘要:
1、 钥匙串创建Push证书的证书签名请求文件(CSR文件)。 如下图所示: 2、创建App ID,创建Provisioning Profile,下载安装到XCode。 苹果开发者后台页面,创建Push Notification App需要的App Id: 注意要勾选需要的服务: 接下来,就是到Pr 阅读全文
摘要:
UILabel设置行间距: 阅读全文