- iOS Programming Cookbook
- Hossam Ghareeb
- 149字
- 2021-07-09 18:29:50
Working with UICollectionView
UICollectionView is a very handy and awesome view when it comes to dealing with grid layout. Collection view helps you create a grid layout (2D cells) easily without hassle. Collection view is just a scrollable view that lays out multiple cells in a grid layout. So, to create a collection view, you have to specify a data source and delegate exactly like UITableView. Besides that, you need to specify how the layout of your cells will appear. iOS provides you with an abstract class-UICollectionViewLayout-which should be subclassed to customize how the content will be managed. You can create your own custom layouts and describe how you want to lay out your cells. However, thanks to Apple, it provides us with a premade layout called UICollectionViewFlowLayout, which flow the layout by placing the cells one after the other based on their sizes and the spacing between them.
- Windows Server 2012 Hyper-V Cookbook
- Linux集群和自動化運(yùn)維
- 混沌工程實(shí)戰(zhàn):手把手教你實(shí)現(xiàn)系統(tǒng)穩(wěn)定性
- Python基礎(chǔ)教程(第3版)
- 計(jì)算機(jī)系統(tǒng):基于x86+Linux平臺
- Linux服務(wù)器配置與管理
- 計(jì)算機(jī)系統(tǒng)的自主設(shè)計(jì)
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- 新編電腦辦公(Windows 10+ Office 2013版)從入門到精通
- Windows 7實(shí)戰(zhàn)從入門到精通(超值版)
- HTML5 Enterprise Application Development
- Windows Server 2008組網(wǎng)技術(shù)與實(shí)訓(xùn)(第3版)
- bash shell腳本編程經(jīng)典實(shí)例(第2版)
- Multi-Cloud for Architects
- VMware Horizon Mirage Essentials