chinese直男口爆体育生外卖, 99久久er热在这里只有精品99, 又色又爽又黄18禁美女裸身无遮挡, gogogo高清免费观看日本电视,私密按摩师高清版在线,人妻视频毛茸茸,91论坛 兴趣闲谈,欧美 亚洲 精品 8区,国产精品久久久久精品免费

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>電子資料>GXWaterCollectionViewLayout可設(shè)置縱橫方向和排列數(shù)的瀑布流布局

GXWaterCollectionViewLayout可設(shè)置縱橫方向和排列數(shù)的瀑布流布局

2022-06-24 | zip | 1.45 MB | 次下載 | 2積分

資料介紹

授權(quán)協(xié)議 MIT
開發(fā)語言 Objective-C
軟件類型 開源軟件
所屬分類 iOS代碼庫、 視圖布局(View Layout)

軟件簡介

GXWaterCollectionViewLayout 是一個好用的瀑布流布局,可以設(shè)置縱橫方向和排列數(shù)等。

Requirements

  • iOS 7.0 or later

  • Xcode 8.0 or later

Usage in you Podfile:

pod?'GXWaterCollectionViewLayout'

?

可以設(shè)置縱橫方向

@property?(nonatomic,?assign)?UICollectionViewScrollDirection?scrollDirection;??//滾動方向

可以設(shè)置的其它參數(shù)

@property?(nonatomic,?assign)?NSInteger????numberOfColumns;???//瀑布流橫排數(shù)
@property?(nonatomic,?assign)?CGFloat??????lineSpacing;???????//縱向間距
@property?(nonatomic,?assign)?CGFloat??????interitemSpacing;??//橫向間距
@property?(nonatomic,?assign)?CGSize???????headerSize;????????//頁眉尺寸
@property?(nonatomic,?assign)?CGSize???????footerSize;????????//頁腳尺寸
@property?(nonatomic,?assign)?UIEdgeInsets?sectionInset;??????//分類inset

實(shí)例應(yīng)用代碼

//?初始化瀑布流布局
self.waterLayout?=?[[GXWaterCollectionViewLayout?alloc]?init];
self.waterLayout.numberOfColumns?=?4;
self.waterLayout.lineSpacing?=?10.0;
self.waterLayout.interitemSpacing?=?10.0;
self.waterLayout.sectionInset?=?UIEdgeInsetsMake(20,?20,?20,?20);
self.waterLayout.scrollDirection?=?UICollectionViewScrollDirectionVertical;
self.waterLayout.headerSize?=?CGSizeMake(self.view.bounds.size.width,?40);
self.waterLayout.footerSize?=?CGSizeMake(self.view.bounds.size.width,?40);
self.waterLayout.delegate?=?self;
//?初始化UICollectionView
self.waterCollectionView?=?[[UICollectionView?alloc]?initWithFrame:self.view.bounds?collectionViewLayout:self.waterLayout];
self.waterCollectionView.autoresizingMask?=?UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
self.waterCollectionView.backgroundColor?=?[UIColor?whiteColor];
self.waterCollectionView.delegate?=?self;
self.waterCollectionView.dataSource?=?self;
[self.view?addSubview:self.waterCollectionView];

方向UICollectionViewScrollDirectionVertical效果

?

?

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

查看更多

下載排行

本周

  1. 1NS1081/NS1081S/NS1081Q USB 3.0閃存數(shù)據(jù)手冊
  2. 0.40 MB   |  4次下載  |  2 積分
  3. 2光伏并網(wǎng)逆變器原理
  4. 7.31 MB   |  3次下載  |  2 積分
  5. 3T20電烙鐵原理圖資料
  6. 0.27 MB   |  2次下載  |  免費(fèi)
  7. 4PL83081 雙路恒流同步降壓轉(zhuǎn)換器技術(shù)手冊
  8. 3.34 MB   |  1次下載  |  免費(fèi)
  9. 5PL88052 4.8V至60V輸入,5A,同步降壓轉(zhuǎn)換器技術(shù)手冊
  10. 3.36 MB   |  1次下載  |  免費(fèi)
  11. 6LX8201微孔霧化驅(qū)動芯片電路圖資料
  12. 0.15 MB   |  1次下載  |  免費(fèi)
  13. 7PC6200_7V直流電機(jī)驅(qū)動器技術(shù)手冊
  14. 0.47 MB   |  次下載  |  免費(fèi)
  15. 8恒溫晶體振蕩器(OCXO)FOC-2D:20.6×20.6mm在通信基站和測試設(shè)備中的應(yīng)用參數(shù)規(guī)格
  16. 485.75 KB  |  次下載  |  免費(fèi)

本月

  1. 1如何看懂電子電路圖
  2. 12.88 MB   |  329次下載  |  免費(fèi)
  3. 2RK3588數(shù)據(jù)手冊
  4. 2.24 MB   |  14次下載  |  免費(fèi)
  5. 3PC5502負(fù)載均流控制電路數(shù)據(jù)手冊
  6. 1.63 MB   |  12次下載  |  免費(fèi)
  7. 4STM32F10x參考手冊資料
  8. 13.64 MB   |  12次下載  |  1 積分
  9. 5OAH0428 V1.0英文規(guī)格書
  10. 5.86 MB   |  8次下載  |  免費(fèi)
  11. 6NS1081/NS1081S/NS1081Q USB 3.0閃存數(shù)據(jù)手冊
  12. 0.40 MB   |  4次下載  |  2 積分
  13. 7PID控制算法學(xué)習(xí)筆記資料
  14. 3.43 MB   |  3次下載  |  2 積分
  15. 8光伏并網(wǎng)逆變器原理
  16. 7.31 MB   |  3次下載  |  2 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935132次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費(fèi)下載
  8. 340992  |  191415次下載  |  10 積分
  9. 5十天學(xué)會AVR單片機(jī)與C語言視頻教程 下載
  10. 158M  |  183349次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81599次下載  |  10 積分
  13. 7Keil工具M(jìn)DK-Arm免費(fèi)下載
  14. 0.02 MB  |  73818次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65990次下載  |  10 積分