That is the one. Found it the other day. Tanks Vince.

Erik Stainsby
erik.stain...@roaringsky.ca


On 2012-09-21, at 1:33 PM, Vince DeMarco <dema...@apple.com> wrote:

> 
> On Sep 13, 2012, at 7:45 PM, Erik Stainsby <erik.stain...@roaringsky.ca> 
> wrote:
> 
>> Hello folks,
>> 
>> So the AddressBook framework's xxxLabel keys render out as strings encoded 
>> like so: _$!<Home>!$_, _$!<Work>!$_, _$!<Mobile>!$_   Is there framework 
>> method I am meant to use with the property keys kABHomeLabel, kABWorkLabel, 
>> etc, to render a legible text outcome ?  Or am I meant to create my own 
>> lookup reference and to translate them as I see fit ? 
>> 
>> 
> 
> Try this
> 
> // ================================================================
> //      Localization of property or label
> // ================================================================
> 
>    // Returns the localized version of built in properties, labels or keys
>    // Returns propertyOrLabel if not found (e.g. if not built in)
> NSString *ABLocalizedPropertyOrLabel(NSString *propertyOrLabel);
> 
> 
> 
> 
> 
> 
> 
> in ABGlobals.h
> 
>> Erik Stainsby
>> erik.stain...@roaringsky.ca
>> 
>> 
>> _______________________________________________
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/demarco%40apple.com
>> 
>> This email sent to dema...@apple.com
> 


_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to