Initializer

init(coder:)

Creates a Touch Bar object from a coder object provided by a storyboard or NIB file.

Declaration

init?(coder: NSCoder)

Return Value

A fully initialized Touch Bar object, or nil if the coder doesn't define a Touch Bar object.

See Also

Creating a Bar

init()

Creates a Touch Bar object.