Instance Property

addressComponents

The address dictionary of a type checking result.

Declaration

var addressComponents: [NSTextCheckingKey : String]? { get }

Discussion

The dictionary keys are described in Keys for Address Components.

See Also

Text Checking Results for Addresses

class func addressCheckingResult(range: NSRange, components: [NSTextCheckingKey : String]) -> NSTextCheckingResult

Creates and returns a text checking result with the specified address components.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software