写代码是一种艺术,甚于蒙娜丽莎的微笑!

不拼搏,枉少年!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年7月16日

摘要: 在ios中,一般建议使用代码布局,因为使用代码布局,后期维护容易,拓展容易,并且可以实现动态加载很多数据,但是代码布局比较繁琐,不适合初学者。Xib布局或者Storyboard布局比较方便。下面介绍一下xib和storyboard的知识及创建使用方法。 有关nib、xib和storyboard的往事 阅读全文
posted @ 2016-07-16 20:03 RunningSnail 阅读(4843) 评论(0) 推荐(0) 编辑

摘要: 情景再现 1,自定义一个storyboard: 打开xcode,按下cmd+N,新建一个Storyboard >next 将新建立的storyboard命名为:TestViewController >create 在TestViewController.storyboard上加上一个label,其t 阅读全文
posted @ 2016-07-16 16:40 RunningSnail 阅读(3594) 评论(0) 推荐(0) 编辑