Category

@objcMembers open class Category: WorkspaceFlow

Groups a collection of blocks together, for use in a Toolbox.

  • Represents all possible types of toolbox categories.

    Declaration

    Swift

    public enum CategoryType: Int
  • The name of the category

    Declaration

    Swift

    open var name: String
  • The color of the category

    Declaration

    Swift

    open var color: UIColor
  • An icon used to represent the category

    Declaration

    Swift

    open var icon: UIImage?
  • The type of the category

    Declaration

    Swift

    open var categoryType: CategoryType = .generic