Platforms to show: All Mac Windows Linux Cross-Platform

ABPersonMBS class   Deprecated

Super class: ABRecordMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used. You can use CNContactMBS class instead.
ABPersonMBS is a subclass of ABRecord and represents a person.
Example
dim a as new ABAddressBookMBS // get addressbook
dim p as ABPersonMBS = a.owner // and find me

// read note
MsgBox p.valueForProperty(a.kABNoteProperty).StringValue

// write note
if p.setValue("Hello World", a.kABNoteProperty) then
if a.save then
MsgBox "Changed."
end if
end if

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the ABRecordMBS class.

Super class ABRecordMBS

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries


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


ABPeoplePickerViewMBS   -   ABPersonViewMBS


The biggest plugin in space...