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
- init(attributedLabel:NSAttributedString,attributedValue:NSAttributedString) — convenience; Creates new custom content with an attributed string and attributed value.
- init(label:String,value:String) — convenience; Creates new custom content with a label and value.
Code Examples
init?(coder: NSCoder)
Source: https://developer.apple.com/documentation/accessibility/axcustomcontent/init(coder:)