Platforms to show: All Mac Windows Linux Cross-Platform

CNSocialProfileMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The CNSocialProfile class defines an immutable object representing a social profile.
Example
dim ContactStore as new CNContactStoreMBS
dim c as new CNMutableContactMBS

c.givenName = "Bob"

dim sr as new CNSaveRequestMBS

dim ContainerIdentifier as string = ContactStore.defaultContainerIdentifier
sr.addContact c, ContainerIdentifier

dim e as NSErrorMBS
if ContactStore.executeSaveRequest(sr, e) then
MsgBox "Saved"
else
MsgBox "Failed to save contact"+EndOfLine+EndOfLine+e.localizedDescription
end if

This is a thread-safe class. Some social profile services, such as Facebook and Twitter are predefined in this class. You can also specify your own social profile service with Constructor.

This class has no sub classes.

Some examples using this class:


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


CNSaveRequestMBS   -   ComboBox


The biggest plugin in space...