使用故事板的利弊 [英] Pros and cons of using storyboards

查看:107
本文介绍了使用故事板的利弊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算学习使用Story Boards开发应用程序。任何人都可以在使用StoryBoards时发布一些优点和缺点吗?

解决方案

何时使用Storyboard以及何时使用XIB



在iOS编程中使用Storyboard而不是xib文件有什么好处?



iphone-sdk-development



我认为这些链接对您的问题很有帮助。就个人而言,我认为故事板比nib更好,因为它们不需要在视图之间编码转换(除非你使用CA的自定义转换),并且它们也具有nib文件的所有功能。



希望这有所帮助。



-----------编辑-----------



以下是我发现的更多链接:



这个讲述了使用故事板的一些缺点。





UIStoryboard p>这个主要是关于好处。
什么是iOS 5.0故事板优于传统UI布局的优势?


I am planning to learn to develop applications using Story Boards. Can anyone please post some advantages and disadvantages while using StoryBoards?

解决方案

When to use Storyboard and when to use XIBs

What are the benefits of using Storyboards instead of xib files in iOS programming?

iphone-sdk-development

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.

Hope this helped.

-----------EDIT-----------

Here are some more links I found:

This one speaks about some of the cons of using storyboards.

UIStoryboard on iOS 5: The Good, The Bad, and the 'This Plain Sucks'

This one is mostly about the benefits. What are the advantages of iOS 5.0 storyboarding over traditional UI layout?

这篇关于使用故事板的利弊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆