AI-generated Key Takeaways
-
BarcodePersonNameprovides a structured representation of a person's name, including individual components like first, last, middle, prefix, and suffix. -
It offers a
formattedNameproperty for accessing the properly formatted full name. -
For Japanese contacts, the
pronunciationproperty can store the kana name for phonebook entries. -
The initializer for
BarcodePersonNameis unavailable for direct use.
BarcodePersonName
class BarcodePersonName : NSObjectA person’s name, both formatted as individual name components.
-
Properly formatted name.
Declaration
Swift
var formattedName: String? { get } -
First name.
Declaration
Swift
var first: String? { get } -
Last name.
Declaration
Swift
var last: String? { get } -
Middle name.
Declaration
Swift
var middle: String? { get } -
Name prefix.
Declaration
Swift
var prefix: String? { get } -
Designates a text string to be set as the kana name in the phonebook. Used for Japanese contacts.
Declaration
Swift
var pronunciation: String? { get } -
Name suffix.
Declaration
Swift
var suffix: String? { get } -
Unavailable.