如何在 Xcode 4.3 下的 Objective C 中制作 9*9 网格视图?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9770132/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to make a 9*9 grid view in Objective C under Xcode 4.3?
提问by Java Player
i have searched Xcode controls but doesn't found anything that makes a GridView like the one in the lecture below so, how to make a one like that? thanks
我已经搜索了 Xcode 控件,但没有找到任何可以使 GridView 像下面讲座中的那样的东西,那么如何制作这样的控件?谢谢
采纳答案by u10int
As @Stephen pointed out, there's AQGridView, but here are a few others I've looked at, each offering some different functionality based on what you're looking for: GMGridView, NRGridView, MMGridView
正如@Stephen 所指出的,有 AQGridView,但这里有一些我看过的其他一些,每个都根据您的需求提供了一些不同的功能:GMGridView、NRGridView、MMGridView
回答by user1375355
iOS 6 has a UICollectionView that might work
iOS 6 有一个可能工作的 UICollectionView
回答by Stephen Darlington
There is no such component built in to iOS. So you'll either need to write your own or look for an open source version. I'm aware of AQGridView; I'm sure there are others.
iOS 中没有内置这样的组件。因此,您要么需要自己编写,要么寻找开源版本。我知道AQGridView;我确定还有其他人。