Set first collection view cell default style

selectItem(at: , animated: , scrollPosition: )
tableView(_:willDisplay:forRowAt:)

CategoryCellModel

需要將原本使用的Category model都改成CategoryCellModel

setProductType

這裏額外建立isFirstCategory來判斷第一個項目

Demo

他搭~

--

--

On my way to become an iOS developer!

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store