#[GM-GRID-VIEW](http://www.gmoledina.ca/projects/gmgridview/)
<a target="_blank" href="http://www.gmoledina.ca/projects/gmgridview/">
<img style="position: relative; width: 768px; margin: 0;" src="http://www.gmoledina.ca/wp-content/uploads/2012/04/GMGridView_iPad_promo1.png" alt="GMGridView"/>
</a>
"**Definitely looks like one to watch**" [ManiacDev.com]
"**Looks like the best 3rd party implementation I have seen so far**" [iosDevWeekly.com]
---
An iOS Grid-View allowing the user to sort the views in the scrollView and also to see the views in full-size by pinching them.
This view is inspired by the UITableView and uses a datasource and delegates in order to get the data and interact with it.
The cells are reusable and are not loaded until required (only the ones visible on the scrollview are loaded).
It is important to use the dequeue method to reuse the cell.
The best sorting style (swap or push) depends on personal taste and the frame of the grid; you can choose the one that suits you best.
Same applies to the layout strategy (vertical, horizontal, paged,... and more to come).
Many working examples provided in the demo app.
Let us know how this component works out for you!
New feature requests are welcome. (ping [@gmoledina](http://twitter.com/gmoledina) or [@steipete](http://twitter.com/steipete))
---
**Fresh from the baking oven**:
* The component is now shipped as a static library
* The component now inherits from UIScrollView and changing the scroll delegate is now allowed!
* Support for different item sizes per interface orientation
**Coming soon**:
* Changing the zoom scale dynamically (when pinching to go fullscreen)
* Better performance of items scalling on pinch
* More customization options
---
**Consider making a small donation to [support future developement](http://www.gmoledina.ca/projects/gmgridview/) of this component.**
---
**Requirements**:
* iOS 4 and up
* Xcode 4.2 (GMGridView uses ARC)
* Frameworks: Foundation, UIKit, CoreGraphics and QuartzCore
**Features - General**:
* Works on both the iPhone and iPad (best suited for iPad)
* Works on both portrait and landscape orientation
* Inherits from UIScrollView - you can override the UIScrollViewDelegate if you wish
* Reusable cells
* Edit mode to delete cells
* Gestures work great inside of the scrollView
* 4 different layout strategies (Vertical, Horizontal, Horizontal Paged LTR/TTB)
* Possibility to provide your own layout strategy
* Paging!! 2 horizontally paged layout strategies added
* shaking animation on items when in edit mode
* Changing the scrollview delegate is allowed!
* Cell highlighting support
* Demo app provided, with options panel
**Features - Sorting**:
* Perform a long-touch on a view to be able to move it
* Two different animation styles ("Swap" or "Push")
* Sorted view has a shake animation (can be disabled)
* Only one UIPanGestureRecognizer and one UILongTouchGestureRecognizer used to track ALL views
**Features - Gestures**:
* Perform a long-press to switch to edit (jiggle) mode
* Tap between cells to terminate edit mode
**Features - Fullsize**:
* Pinch, rotate and drag views using 2 fingers
* Switch to fullsize mode on the view at the end of these gestures if the view scaled enough
* Provide a different fullsize view (detailed view) for the view via the delegate
* Every view doesn't have it's own gesture recognizers, the main view handles a set of gestures for ALL views
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——gmoledina-GMGridView-v1.1.1-5-g1d9ad9d.zip
共31个文件
h:11个
m:10个
pbxproj:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 60 浏览量
2023-07-02
16:48:25
上传
评论
收藏 58KB ZIP 举报
温馨提示
iOS游戏应用源代码——gmoledina-GMGridView-v1.1.1-5-g1d9ad9d.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——gmoledina-GMGridView-v1.1.1-5-g1d9ad9d.zip (31个子文件)
gmoledina-GMGridView-1d9ad9d
LICENSE 1KB
Example
Demo2ViewController.h 233B
AppDelegate.h 314B
GMGridView-Info.plist 1KB
GMGridViewExample.xcodeproj
project.pbxproj 15KB
project.xcworkspace
contents.xcworkspacedata 155B
AppDelegate.m 1KB
main.m 351B
GMGridView-Prefix.pch 538B
OptionsViewController.m 17KB
OptionsViewController.h 310B
Resources
close_x.png 2KB
Demo1ViewController.m 18KB
Demo1ViewController.h 228B
en.lproj
InfoPlist.strings 45B
Demo2ViewController.m 15KB
GMGridView
GMGridViewCell.m 11KB
UIView+GMGridViewAdditions.h 2KB
GMGridView.h 9KB
GMGridView.m 63KB
GMGridViewLayoutStrategies.m 18KB
GMGridViewCell.h 2KB
GMGridView-Constants.h 2KB
GMGridView.xcodeproj
project.pbxproj 14KB
UIGestureRecognizer+GMGridViewAdditions.h 1KB
GMGridViewLayoutStrategies.h 6KB
UIGestureRecognizer+GMGridViewAdditions.m 2KB
GMGridViewCell+Extended.h 2KB
UIView+GMGridViewAdditions.m 3KB
.gitignore 169B
README.md 3KB
共 31 条
- 1
资源评论
快乐无限出发
- 粉丝: 1126
- 资源: 7260
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功