#include  <AddressBook/ABPeoplePickerView.h>

@implementation  ABPeoplePickerView

/*selectedGroups

- (NSArray *)selectedGroups
Discussion

Returns the groups selected in the group list as an array of ABGroup objects.
Availability
Available in Mac OS X v10.3 and later.*/
- (NSArray *)selectedGroups{
printf ("SelectedGroups");
}


/*selectedRecords

- (NSArray *)selectedRecords
Discussion

Returns the selection in the record list as an array of ABGroup or ABPerson objects.
Availability
Available in Mac OS X v10.3 and later.
See Also
– selectRecord:byExtendingSelection:
– deselectRecord:*/
- (NSArray *)selectedRecords{
printf ("selectedRecords");
}


/*addProperty:

- (void)addProperty:(NSString *)property
Discussion

Adds a property to the group of properties whose values are shown in the record list.

For additional information about properties see “Person Properties”
Availability
Available in Mac OS X v10.3 and later.
See Also
– removeProperty:
– properties*/
- (void)addProperty:(NSString *)property{
printf ("addProperty",property);
}

/*removeProperty:

- (void)removeProperty:(NSString *)property
Discussion

Removes a property from the group of properties whose values are shown in the record list.

For additional information about properties see “Person Properties”
Availability
Available in Mac OS X v10.3 and later.
See Also
– addProperty:
– properties*/
- (void)removeProperty:(NSString *)property{
printf ("removeProperty",property);
}


//work
/*editInAddressBook:

- (void)editInAddressBook:(id)sender
Discussion

Launches Address Book to edit the item selected in the people picker.
Availability
Available in Mac OS X v10.3 and later.
See Also
– selectInAddressBook:*/
- (void)editInAddressBook:(id)sender{
printf ("editInAddressBook",sender);
}


/*selectInAddressBook:

- (void)selectInAddressBook:(id)sender
Discussion

Launches Address Book and selects the item selected in the people picker.
Availability
Available in Mac OS X v10.3 and later.
See Also
– editInAddressBook:*/
- (void)selectInAddressBook:(id)sender{
printf ("selectInAddressBook",sender);
}

/*setAllowsGroupSelection:

- (void)setAllowsGroupSelection:(BOOL)flag
Discussion

Specifies whether the user can select entire groups in the group column (flag is YES). When flag is NO, at least one person in the group is selected when the user selects a group.
Availability
Available in Mac OS X v10.3 and later.
See Also
– allowsGroupSelection*/
- (void)setAllowsGroupSelection:(BOOL)flag{
printf ("setAllowsGroupSelection",flag);
}


/*setAllowsMultipleSelection:

- (void)setAllowsMultipleSelection:(BOOL)flag
Discussion

Specifies whether multiple groups, records, or values of multi-value properties can be selected at a time.
Availability
Available in Mac OS X v10.3 and later.
See Also
– allowsMultipleSelection*/
- (void)setAllowsMultipleSelection:(BOOL)flag{
printf ("setAllowsMultipleSelection",flag);
}

@end

