Shimen the main contribution, respect the work of the author, please do not reprint.
If the article is helpful to you, you are welcome to donate to the author, support the Shimen, donate any amount, ^_^
I want to donate: Click Donate
Cocos2d-x source code Download: Dot I teleport
Games Official Download:HTTP://DWZ.CN/RWTJL
Game video preview:http://dwz.cn/RzHHd
Game Development Blog:Http://dwz.cn/RzJzI
Game Source code transfer : Http://dwz.cn/Nret1
For example, [group and public comments]:
The idea of implementing the classification control function:
1. Implement collection view in the header of Table view.
2. Implementation of collection view initialization and initialization of Uipagecontrol
3. Implement collection View Data Source and delegate[note cell reuse]
4. Implement scroll view agent scrollviewdidenddecelerating to realize the change of page control when scrolling
5. Achieve Uipagecontrol Click Response
PS: A small bug that can see the public reviews. Click on the Uipagecontrol but the collection view interface does not scroll through the screen.
If there is less clear place, leave a message below.
Shimen the main contribution of the Lord, respect the author's labor results. Please do not reprint.
If the article is helpful to you, you are welcome to donate to the author, support the Shimen, donate any amount, ^_^
I want to donate: Click Donate
Cocos2d-x source code Download: Dot I teleport
Games Official Download:HTTP://DWZ.CN/RWTJL
Game video preview:http://dwz.cn/RzHHd
Game Development Blog:Http://dwz.cn/RzJzI
Game Source code transfer : Http://dwz.cn/Nret1
iOS development uses Uicollectionview to realize the category function of the American group app "A small bug in the app"