TweakList

public final class TweakList
extension TweakList: TweakBuildable
extension TweakList: CustomDebugStringConvertible

TweakList is the container of TweakSection.

A list is a vertically scroll list in the UI. Each list is constructed by several sections.

You don’t use TweakList directly most of the time, it is usually used to constructed the TweakContext object.

  • The name of the list.

    name is also the id of the list which means there are no two lists that have the same name in one context.

    Declaration

    Swift

    public let name: String
  • Creates and initializes a tweak list with the given name and the tweak sections.

    The sections of the list are sorted by alphabetic order and sections with duplicated names are filtered.

    Declaration

    Swift

    public init(_ name: String, @TweakContainerBuilder<TweakSection> _ sections: () -> [TweakSection])

    Parameters

    name

    The name of the list.

    sections

    A builder that creates the sections of the list.

  • Undocumented

    Declaration

    Swift

    public var constrainKey: String { get }
  • Undocumented

    Declaration

    Swift

    public var hasBuilt: Bool { get }
  • Declaration

    Swift

    public var debugDescription: String { get }