PCFCategoryTree

public struct PCFCategoryTree: CategoryTree

PCFCategoryTree model.

  • The root categories.

    Declaration

    Swift

    public var rootCategories: [CategoryType] = []
  • The mapped categories object.

    Declaration

    Swift

    public var categoryMap: [String: CategoryType] = [:]
  • The default initializer. init(categories: [CategoryType]) is preferred to create the category tree.

    Declaration

    Swift

    public init()