func provider()

in SampleApp/ThemeAndResourceViewController.swift [102:107]


    func provider(for indexPath: IndexPath) -> ColorProvider {
        switch Section(from: indexPath.section) {
        case .theme: return theme
        case .resource: return resources
        }
    }