Skip to content

valueWithNumber:

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 numeric data value with the specified number.

Declaration

+ (instancetype) valueWithNumber:(double) number;

Details

See Also

  • Creating a numeric value
  • number

value With Number:

Topics (Grouped)

Creating a numeric value

  • number — A number that represents the numeric data value.

Code Examples

+ (instancetype) valueWithNumber:(double) number;

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