init(attributedLabel:attributedValue:)
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+
Overview
Creates new custom content with an attributed string and attributed value.
Declaration
convenience init(
attributedLabel label: NSAttributedString,
attributedValue value: NSAttributedString
)
Details
Parameters
- Parameters
See Also
- Creating custom content
- convenience init(label: String, value: String)
-
init?(coder: NSCoder)
-
Accessibility
- AXCustomContent
- init(attributedLabel:attributedValue:)
init(attributed Label: attributed Value:)
Topics (Grouped)
Creating custom content
- init(label:String,value:String) — convenience; Creates new custom content with a label and value.
- initcoder:NSCoder) — ?(
Code Examples
convenience init(
attributedLabel label: NSAttributedString,
attributedValue value: NSAttributedString
)