AddressBook.framework & binding
AddressBook.framework & binding
- Subject: AddressBook.framework & binding
- From: Robert Cerny <email@hidden>
- Date: Mon, 28 Apr 2008 13:01:07 +0200
hi everybody,
I searched the web but I'm probably not asking the right question :/
Is there a way how to use AddressBook data with bindings directly (I
mean without writing glue code for extracting values wrapped with
properties)?
I mean I can write bunch of repeating code and add it to ABPerson
category like:
@implementation ABPerson (_binding_)
- (NSString*)lastName
{
return [self valueForProperty:kABLastNameProperty];
}
- (NSString*)firstName
{
return [self valueForProperty:kABFirstNameProperty];
}
@end
but is there a more clever way?
Thanks
Robert
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden