会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Dvel
less is more
博客园
首页
新随笔
联系
订阅
管理
2015年9月24日
iOS:利用代码UIBarButtonItem如何响应事件?
摘要: 在storyboard中,可以通过拖拽的方法响应事件。如果是纯代码构建的UI,UIBarButtonItem 无法调用addTarget: action: forControlEvents: 这个方法。如下图所示,用代码创建的left按钮:我想让导航栏中的『left』响应事件。网上搜了一大堆方法,都...
阅读全文
posted @ 2015-09-24 05:40 Dvel
阅读(1258)
评论(1)
推荐(0)
编辑
2015年9月5日
Xcode 更改配色方案。
摘要: http://www.dvel.cc/ios/xcode-color-theme/更改配色方案:Xcode > Preferences > Fonts & Color/******************************************************************...
阅读全文
posted @ 2015-09-05 22:02 Dvel
阅读(2953)
评论(0)
推荐(1)
编辑
2015年3月28日
Hello, World!
摘要: 1 #include 2 3 int main()4 {5 printf("Hello, World!\n");6 return 0;7 }
阅读全文
posted @ 2015-03-28 00:07 Dvel
阅读(177)
评论(1)
推荐(1)
编辑
公告