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?
这篇关于使用故事板的优点和缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用故事板的优点和缺点


- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01