Pros and cons of using storyboards(使用故事板的优点和缺点)
问题描述
我计划学习使用故事板开发应用程序.任何人都可以在使用 StoryBoards 时发布一些优点和缺点吗?
I am planning to learn to develop applications using Story Boards. Can anyone please post some advantages and disadvantages while using StoryBoards?
推荐答案
何时使用 Storyboard 以及何时使用 XIBs
什么在 iOS 编程中使用 Storyboard 代替 xib 文件有什么好处?
iphone-sdk-development
我认为这些链接很有帮助,并且与您的问题相关.就个人而言,我认为 Storyboard 比 nib 更好,因为它们无需编写视图之间的转换(除非您使用 CA 的自定义转换),并且它们也具有 nib 文件的所有功能.
I think these links are helpful and related to your question. Personally, I believe storyboards are better then nibs because they eliminate the need to code your transitions between views (unless you use custom transition with CA), and they have all the capabilities of nib files too.
希望这会有所帮助.
-----------编辑-----------
-----------EDIT-----------
这里是我找到的更多链接:
Here are some more links I found:
这篇文章讲述了使用故事板的一些缺点.
This one speaks about some of the cons of using storyboards.
iOS 5 上的 UIStoryboard:好的、坏的和 'This Plain Sucks'
这个主要是关于好处的.iOS有什么优势5.0 故事板优于传统 UI 布局?
This one is mostly about the benefits. What are the advantages of iOS 5.0 storyboarding over traditional UI layout?
这篇关于使用故事板的优点和缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用故事板的优点和缺点
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
