HMSDataSource
CLASS
public class HMSDataSource
Properties
hms
public var hms: HMSSDK?
sections
public var sections = [HMSSection]()
allModels
public var allModels: [HMSViewModel]
delegate
public weak var delegate: HMSDataSourceDelegate?
sortComparator
public var sortComparator: ((HMSViewModel, HMSViewModel) -> Bool)?
filter
public var filter: ((HMSViewModel) -> Bool)?
sectionProducer
public var sectionProducer: ((HMSViewModel) -> HMSSection.SectionIdentifier)?
Methods
init()
public init()
reload()
public func reload()