开发者

How to design and create a GridView using UIScrollView or UITableView

开发者 https://www.devze.com 2023-02-13 16:49 出处:网络
I think GridView is a very common view in many situat开发者_运维百科ion. As a beginner in iOS, I just wonder why iOS didn\'t provide a GridView class.

I think GridView is a very common view in many situat开发者_运维百科ion. As a beginner in iOS, I just wonder why iOS didn't provide a GridView class. So here's my question, how to design and create a GridView using UIScrollView or UITableView? or is there some other solution to create a GridView?


GitHub is the best place to search for open source solutions, so try to use it next time. Check DTGridView or PF-GridView


This question has been asked before:
Grid view in iPhone SDK

Personally I recommend AQGridView.


You can use UICollectionView to create a nice gridview. It's simple to use. It is available in iOS 6.0 and later.

https://developer.apple.com/documentation/uikit/uicollectionview


So I have been delving into this over the past few days and there are a few more options that I have found worthwhile (some of these other posters have already mentioned, but I am mentioning again for completeness):

https://github.com/AlanQuatermain/AQGridView (Free)

http://ioscomponents.com/Home/Products (Commercial - lots of features 29 USD)

https://www.developergarden.com/en/marketplace/components/details/cmp/ios-data-grid-table-view (commercial 129 USD)

http://www.binpress.com/app/vertical-horizontal-scrolling-datagrid-for-ios/1082 (Commercial 129 USD)

Infragistics has one too: http://www.infragistics.com/products/ios USD 295 (USD 995 if you want support).

0

精彩评论

暂无评论...
验证码 换一张
取 消