Extends Item

Apple.ListCellGroup

The Apple.ListCellGroup element groups one or more Apple.ListCell elements together with an optional header and footer for use in a page or list.

property String header

property String footer

The header and footer text to display above and below the group content. If either the header or footer is left blank, the group adjusts accordingly.

property Apple.ListCellGroup.Style style: .Plain

The group style.

Apple.ListCellGroup.Style.Plain

Primarily used in long lists on iOS, such as the contacts list.

Apple.ListCellGroup.Style.Grouped

Used to group list cells in pages, such as the iOS settings app.

alias Item content

Holds the group content, which is usually Apple.ListCells.

Apple.ListCellGroup {
    content {
        Apple.ListCell {
            anchor width
            text: "ListCell 1"
        }
        Apple.ListCell {
            anchor width
            text: "ListCell 2"
        }
    }
}