Skip to content

valueWithCategory:

Category: Type Method

Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+

Overview

Creates a categorical data value with the specified category string.

Declaration

+ (instancetype) valueWithCategory:(NSString *) category;

Details

See Also

  • Creating a categorical value
  • category

value With Category:

Topics (Grouped)

Creating a categorical value

  • category — A string that represents the categorical data value.

Code Examples

+ (instancetype) valueWithCategory:(NSString *) category;

Source: https://developer.apple.com/documentation/accessibility/axdatapointvalue/valuewithcategory: