• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ArgenBarbie
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页
2016年9月24日
class && struct
摘要: http://blog.csdn.net/yuliu0552/article/details/6717915 struct可以包含成员函数,可以继承,可以实现多态。 struct为数据结构,class为 区别: 1. 默认访问权限 struct为public,class为private。 2. 默认 阅读全文
posted @ 2016-09-24 16:44 ArgenBarbie 阅读(163) 评论(0) 推荐(0)
页面跳转方法
摘要: http://www.tuicool.com/articles/vErQFbf http://blog.csdn.net/liu975450858/article/details/50883601 1. modal模态跳转 presentViewController 2. navigation导航控 阅读全文
posted @ 2016-09-24 11:10 ArgenBarbie 阅读(247) 评论(0) 推荐(0)
2016年9月23日
iOS面试题
摘要: STAR法则,即为Situation Task Action Result的缩写,具体含义是: Situation: 事情是在什么情况下发生 Task: 你是如何明确你的任务的 Action: 针对这样的情况分析,你采用了什么行动方式 Result: 结果怎样,在这样的情况下你学习到了什么 ~~~d 阅读全文
posted @ 2016-09-23 23:33 ArgenBarbie 阅读(355) 评论(0) 推荐(0)
2016年9月19日
只能在主线程更改界面
摘要: 问题: 在主线程之外的线程更改界面,会报错:This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird cras 阅读全文
posted @ 2016-09-19 18:21 ArgenBarbie 阅读(217) 评论(0) 推荐(0)
tableview调用reloadData()之后界面不刷新显示
摘要: 解决方法: 查看是否有指定tableView的delegate和datasource。 self.tableView.delegate = self self.tableView.datasource = self 阅读全文
posted @ 2016-09-19 16:29 ArgenBarbie 阅读(2140) 评论(0) 推荐(0)
2016年9月14日
tableviewcell边距和设置值不符
摘要: 解决方法: 将Table View Cell的Layout Margins由Default改为Explicit,然后修改上下左右的边距。 阅读全文
posted @ 2016-09-14 14:37 ArgenBarbie 阅读(246) 评论(0) 推荐(0)
2016年9月12日
添加文件夹但编译时仍找不到其中的文件
摘要: 问题: 在工程中引入文件夹时,添加文件夹但编译时仍找不到其中的文件。此时xcode中文件夹的图标为蓝色,而工程中的文件夹应该为黄色。 解决方法: 引入的时候要选Add new group不要选create reference。否则该文件夹里的内容不会参与编译。 阅读全文
posted @ 2016-09-12 22:55 ArgenBarbie 阅读(345) 评论(0) 推荐(0)
模拟器的tableView的分割线不显示
摘要: 只有iOS9和iPhone6 plus模拟器上TableView分割线不会显示。 原因: 由于iPhone6 plus的分辨率较高,开发的时候同常都使用command + 3 或者 command + 4 缩小模拟器显示,这个时候就相当于把plus的分辨率压缩了所以我们会看不到分割线。 解决办法: 阅读全文
posted @ 2016-09-12 09:43 ArgenBarbie 阅读(180) 评论(0) 推荐(0)
swiftlint升级
摘要: ~/Opal/iOS/App (mike/lyrics) $ which brew/usr/local/bin/brew~/Opal/iOS/App (mike/lyrics) $ cd /usr/local/bin//usr/local/bin (master) $ git pull origin 阅读全文
posted @ 2016-09-12 09:41 ArgenBarbie 阅读(174) 评论(0) 推荐(0)
collectionView初始化
摘要: collectionView初始化时一定要加layout。不然会报错: UICollectionView must be initialized with a non-nil layout parameter. 阅读全文
posted @ 2016-09-12 09:39 ArgenBarbie 阅读(284) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3