随笔分类 -  iOS

摘要:在storyboard中,可以通过拖拽的方法响应事件。如果是纯代码构建的UI,UIBarButtonItem 无法调用addTarget: action: forControlEvents: 这个方法。如下图所示,用代码创建的left按钮:我想让导航栏中的『left』响应事件。网上搜了一大堆方法,都... 阅读全文
posted @ 2015-09-24 05:40 Dvel 阅读(1273) 评论(1) 推荐(0)
摘要:http://www.dvel.cc/ios/xcode-color-theme/更改配色方案:Xcode > Preferences > Fonts & Color/******************************************************************... 阅读全文
posted @ 2015-09-05 22:02 Dvel 阅读(2993) 评论(0) 推荐(1)