Initializer

init(coder:)

Initializes a view from data in a given unarchiver.

Declaration

init(coder: NSCoder)

Parameters

coder

An unarchiver object.

Return Value

An initialized view object.

See Also

Creating a View

init(frame: CGRect, device: MTLDevice?)

Initializes a view with the specified frame rectangle and Metal device.