Instance Method

initWithCoder:

Initializes a view from data in a given unarchiver.

Declaration

- (instancetype)initWithCoder:(NSCoder *)coder;

Parameters

coder

An unarchiver object.

Return Value

An initialized view object.

See Also

Creating a View

- initWithFrame:device:

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