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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to