Contents

init(family:)

Creates a context for previewing a widget or a widget’s view.

Declaration

init(family: WidgetFamily)

Parameters

  • family:

    The template the widget preview uses: small, medium, or large.