文件名称:实现图片网格形式排列
文件大小:4.69MB
文件格式:ZIP
更新时间:2024-04-23 23:26:47
IOS源码
该源码实现了实现图片网格形式排列,源码BMAGridPageControl,BMAGridPageControl实现图片以网格形式排列供选择。既可以滚动查看图,也可以通过网格的方式查看图片。 使用方法: 导入头文件: #import #import "BMACollectionViewCell.h" #import 创建TLTransitionLayout对象: TLTransitionLayout *layout = (TLTransitionLayout *)[collectionView transitionToCollectionViewLayout:toLayout duration:0.5 easing:QuarticEaseInOut completion:^(BOOL completed, BOOL finished) { if (finished) { self.control.mode = self.control.mode == BMAGridPageControlModePagination ? BMAGridPageControlModeButton : BMAGridPageControlModePagination; } self.changingLayouts = NO; [self scrollViewDidScroll:self.collectionView]; }];
【文件预览】:
BMAGridPageControl-master
----Podfile.lock(352B)
----.gitignore(506B)
----BMAGridPageControlExampleTests()
--------BMAGridPageControlExampleTests-Info.plist(689B)
--------en.lproj()
--------BMAGridPageControlExampleTests.m(2KB)
----README.md(922B)
----BMAGridPageControl()
--------BMAGridPageControl_Private.h(2KB)
--------BMAGridPageControl.h(3KB)
--------BMAGridPageControlDriver.m(5KB)
--------BMAGridPageControl.m(13KB)
--------BMAGridPageControlDriver.h(3KB)
--------BMAGridPageControl-Prefix.pch(182B)
----CHANGELOG.md(59B)
----LICENSE(1KB)
----BMAGridPageControl.xcworkspace()
--------contents.xcworkspacedata(324B)
----BMAGridPageControlExample.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(37KB)
--------xcshareddata()
----BMAGridPageControlTests()
--------BMAGridPageControlTests-Info.plist(689B)
--------BMAGridPageControlDriverTests.m(17KB)
--------en.lproj()
--------BMAGridPageControlTests.m(3KB)
----BMAGridPageControl.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(30KB)
--------xcshareddata()
----BMAGridPageControl.podspec(647B)
----Podfile(417B)
----.travis.yml(133B)
----BMAGridPageControlExample()
--------BMAViewController.m(8KB)
--------BMAGridPageControlExample-Prefix.pch(344B)
--------BMAGridPageControlExample-Info.plist(1KB)
--------Base.lproj()
--------BMAAppDelegate.h(1KB)
--------BMACollectionViewCell.xib(2KB)
--------en.lproj()
--------BMAAppDelegate.m(3KB)
--------main.m(368B)
--------Images.xcassets()
--------BMAViewController.h(1KB)
--------BMACollectionViewCell.m(1KB)
--------images()
--------BMACollectionViewCell.h(1KB)
----VERSION(6B)
----demoimages()
--------demo.gif(1.13MB)
--------demo2.gif(1.56MB)