Class

PlaygroundPage

An object that represents the state of a playground page and enables you to interact with Xcode.

Overview

PlaygroundPage objects let you manage a live view and control the execution of a playground.

Topics

Instance Properties

var liveView: PlaygroundLiveViewable?

The active live view in the assistant timeline or nil if there is no live view.

var needsIndefiniteExecution: Bool

A Boolean value that indicates whether indefinite execution is enabled.

Type Properties

static let current: PlaygroundPage

The current playground page.

Instance Methods

func finishExecution()

Terminates execution of the current playground page.