Skip to content

init(coder:)

Category: Initializer

Platforms: iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+

Declaration

init?(coder: NSCoder)

Details

See Also

  • Creating custom content
  • convenience init(attributedLabel: NSAttributedString, attributedValue: NSAttributedString)
  • convenience init(label: String, value: String)

Topics (Grouped)

Creating custom content

Code Examples

init?(coder: NSCoder)

Source: https://developer.apple.com/documentation/accessibility/axcustomcontent/init(coder:)