node1
问题描述:
在终端执行如下命令时
npm install –save react-redux/npm install –save redux-thunk
报如下错误:
UNMET PEER DEPENDENCY redux@^2.0.0 || ^3.0.0
问题解决:
这只是缺少依懒模块
如有问题请留言「Stay hungry. Stay foolish.」
问题描述:
在终端执行如下命令时
npm install –save react-redux/npm install –save redux-thunk
报如下错误:
UNMET PEER DEPENDENCY redux@^2.0.0 || ^3.0.0
这只是缺少依懒模块
参考自廖雪峰的官方网站:
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/
添加文件到本地暂存区:
添加单个文件
|
|
添加多个文件[用空格区分]
|
|
IRMakeCocoapodsLibaryTest 这个是我制作的一个Demo,亲们可以先用 Podfile 先看一下,使用一下
这是IRMakeCocoapodsLibaryTest在github上的代码
按照如下gif的步骤:
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
|
|
More info: Writing
扩展能够向已有的类、结构体,枚举或协议类型添加新的功能。这包括在没有权限获取原始代码的情况下扩展类型的能力【即逆向建模】。扩展类似于Objective-C中的分类【categories】,与Objective-C分类不同的是,Swift的extension没有名称,Objective-C中的Category只能扩展类(类别)
extension中的private方法不能被已有实现类调用
Swift中的extension可以实现如下的所示的功能:
生成和使用framework
本文使用macOS Sierra 版本 10.12.1
|
|
https://download.sublimetext.com/Sublime%20Text%20Build%203126.dmg
安装好 键盘command + q 退出Sublime Text 3
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1.``You can try adding it manually in ~/.cocoapods/repos or via pod repo add.
ERROR:Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://ruby.taobao.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://ruby.taobao.org/specs.4.8.gz)
gem sources -l
gem sources --remove https://ruby.taobao.org/
gem sources -a https://gems.ruby-china.org/
本文使用LaunchScreen.storyboard上添加imageView
主要解决在Launch时隐藏StatusBar
在info.plist中添加
UIStatusBarHidden