• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kABHomeLabel … and companions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kABHomeLabel … and companions


  • Subject: Re: kABHomeLabel … and companions
  • From: Erik Stainsby <email@hidden>
  • Date: Fri, 21 Sep 2012 13:35:31 -0700

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

Erik Stainsby
email@hidden


On 2012-09-21, at 1:33 PM, Vince DeMarco <email@hidden> wrote:

>
> On Sep 13, 2012, at 7:45 PM, Erik Stainsby <email@hidden> 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
>> email@hidden
>>
>>
>> _______________________________________________
>>
>> 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
>


_______________________________________________

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

References: 
 >kABHomeLabel … and companions (From: Erik Stainsby <email@hidden>)
 >Re: kABHomeLabel … and companions (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: kABHomeLabel … and companions
  • Next by Date: Re: drawGlyphsForGlyphRange layout issue
  • Previous by thread: Re: kABHomeLabel … and companions
  • Next by thread: NSNumberFormatter + nil values
  • Index(es):
    • Date
    • Thread