Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CNContactFormatterMBS.attributedStringFromContact(contact as CNContactMBS, DefaultAttributes as Dictionary = nil) as NSAttributedStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: Formats the contact name as an attributed string.
Notes:
contact: The contact whose name is to be formatted.
attributes: The default attributes to use. For more information, see NSFormatter.

Returns the formatted contact name as an attributed string.

This method behaves similarly to stringFromContact, except that it returns an attributed string. It includes the attribute key CNContactPropertyAttribute whose attribute values are contact property keys, such as CNContactGivenNameKey. This identifies the name components in the formatted contact name.

See also:

Feedback, Comments & Corrections

CNContactFormatterMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: The constructor.

Feedback, Comments & Corrections

CNContactFormatterMBS.stringFromContact(contact as CNContactMBS) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: Formats the contact name.

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Mac64bit Plugin.




Links
MBS Xojo Chart Plugins