Skip to content

Instantly share code, notes, and snippets.

@gwennguihal
Created December 20, 2018 07:56
Show Gist options
  • Save gwennguihal/cd34fa8909856385c6dccfc11dfc0413 to your computer and use it in GitHub Desktop.
Save gwennguihal/cd34fa8909856385c6dccfc11dfc0413 to your computer and use it in GitHub Desktop.
import Foundation
import Collor
open class CollectionData: Collor.CollectionData {
open override func reloadData() {
super.reloadData()
}
public func addSection() -> SectionDescriptor {
let sectionDescriptor = SectionDescriptor()
sections.append(sectionDescriptor)
return sectionDescriptor
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment