Contents

number

A pattern that indicates the pasteboard contains a string that consists of a numeric value.

Declaration

static let number: UIPasteboard.DetectionPattern

Discussion

When you include this pattern in calls to detectValues(for:inItemSet:completionHandler:) or detectValues(for:completionHandler:)detectValuesForPatterns:inItemSet:completionHandler: or detectValuesForPatterns:completionHandler: in Objective-C — and the pasteboard detects a number, it reports the value as an NSNumber.

See Also

Detecting common patterns