One Logo Pool Ball
WidgetKit · IOS API REFERENCE

PreviewTimelineBuilder

struct · iOS 17.0+ · SDK 27.1

@resultBuilder struct PreviewTimelineBuilder

Members (3)

static · iOS 17.0+

buildArray

TypeScript
static buildArray(components: Array<Array<SDKHandle>>): Array<SDKHandle>
Swift declaration
static func buildArray(_ components: [[any TimelineEntry]]) -> [any TimelineEntry]
static · iOS 17.0+

buildPartialBlock

TypeScript
static buildPartialBlockAccumulatedNext(accumulated: Array<SDKHandle>, next: Array<SDKHandle>): Array<SDKHandle>
Swift declaration
static func buildPartialBlock(accumulated: [any TimelineEntry], next: [any TimelineEntry]) -> [any TimelineEntry]
static · iOS 17.0+

buildPartialBlock

TypeScript
static buildPartialBlockFirst(first: Array<SDKHandle>): Array<SDKHandle>
Swift declaration
static func buildPartialBlock(first: [any TimelineEntry]) -> [any TimelineEntry]

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PreviewTimelineBuilder.buildExpression(_:)

This parameter hides a concrete Swift type.

All WidgetKit types →