如何在不使用情节提要的情况下创建 UICollectionView? [英] How to create UICollectionView without using the storyboard?

查看:21
本文介绍了如何在不使用情节提要的情况下创建 UICollectionView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上找到了一些不错的 UIcollectionview 教程

I have found some nice tutorials of UIcollectionview over the net

http://www.raywenderlich.com/22324/beginning-uicollectionview-in-ios-6-part-12

http://ashfurrow.com/blog/uicollectionview-example

是否可以在没有情节提要的情况下使用集合视图?

Is it possible to use the collectionview without the storyboard?

将storyboard与collectionview一起使用的优缺点是什么?

What are the pros and cons of using the storyboard with collectionview?

推荐答案

是的.它可以通过任何一种方式完成.请参考以下示例.

Yes. It can be done either way. please refer to following examples.

更新:这个(第一个)例子更适合这个问题..http://adoptioncurve.net/archives/2012/09/a-simple-uicollectionview-tutorial/

UPDATE: This(1st) example is more suitable for the question.. http://adoptioncurve.net/archives/2012/09/a-simple-uicollectionview-tutorial/

http://blogs.captechconsulting.com/blog/paul-dakessian/ios-6-tutorial-getting-started-collection-views

http://invasivecode.tumblr.com/post/34581461219/an-introduction-to-collection-views.

我不太确定,但除了易于实现之外,使用故事板应该没有任何优点和缺点.

I am not very sure but there shouldn't be any pros and cons for using storyboards apart from its easy to implement.

这篇关于如何在不使用情节提要的情况下创建 UICollectionView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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