AI-generated Key Takeaways
-
MLKBarcodePersonNamerepresents a person's name, providing access to individual name components like first, last, middle, prefix, and suffix. -
It includes a
formattedNameproperty for the properly formatted full name. -
For Japanese contacts, a
pronunciationproperty can be used to specify the kana name. -
The class is read-only, with properties accessed but not modified directly, and direct initialization is unavailable.
MLKBarcodePersonName
@interface MLKBarcodePersonName : NSObjectA person’s name, both formatted as individual name components.
-
Properly formatted name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *formattedName; -
First name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *first; -
Last name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *last; -
Middle name.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *middle; -
Name prefix.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *prefix; -
Designates a text string to be set as the kana name in the phonebook. Used for Japanese contacts.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *pronunciation; -
Name suffix.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *suffix; -
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;