![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
解决方法
高锰酸钾拌饭
这个作者很懒,什么都没留下…
展开
-
MMDrawerController如何只让指定ViewController起作用
MMDrawerController是一个能实现抽屉效果的第三方库,其中主要三个元素吧:rightNavigationController、centerNavigationController、drawerController。前两个都是普通的NavigationController,可以往上面对各种ViewController进行push和pop;最后那个就是MMDrawerController原创 2016-01-11 10:48:35 · 2103 阅读 · 0 评论 -
npm安装bower出现ERROR的解决方法
bower类似cocoapods,项目中用来管理如jQuery,bootstrap等框架的工具,会在项目的同级目录下新建一个.json文件来建立项目和框架的联系,安装时使用 npm install -g bower 但是会出现一堆ERROR,原因是默认安装bower的文件夹没有权限,解决方法如下: sudo install -g bower 呵呵~ bow原创 2016-02-01 18:35:29 · 844 阅读 · 0 评论 -
关于indexPath和cell的三个小需求
在自定义函数中取得当前正在点击的cell 的indePath 1、在cell中设置协议 @protocol SwipeableCellDelegate NSObject> - (void)cellDidOpen:(UITableViewCell *)cell; @end 2、在协议的实现类中 [self.delegat原创 2016-02-18 16:25:27 · 343 阅读 · 0 评论 -
NSNotificationCenter 通知的使用
通知的使用流程 首先,我们在需要接收通知的地方注册观察者,比如: ? 1 2 3 4 //获取通知中心单例对象 NSNotificationCenter * center = [NSNotificationCenter defaultCenter]; //添加当前类对象为一个观原创 2016-02-19 16:58:42 · 465 阅读 · 0 评论 -
SVN工具 Cornerstone 报错:the working copy is locked
进入报错文件所在的目录,或者报错目录所在的上级目录 通过终端输入 find .|grep ".svn/lock" | xargs rm原创 2016-02-22 16:18:17 · 444 阅读 · 0 评论