• 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: displayNameForProperty D2W ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displayNameForProperty D2W ?


  • Subject: Re: displayNameForProperty D2W ?
  • From: Ramsey Gurley <email@hidden>
  • Date: Thu, 06 Mar 2014 10:19:24 -0700

On Mar 6, 2014, at 8:56 AM, David Avendasora <email@hidden> wrote:

>
> On Mar 5, 2014, at 3:26 PM, Ramsey Gurley <email@hidden> wrote:
>
>> 100: pageConfiguration = “ListEntityPage” and propertyKey = “comments" => displayNameForProperty = “ListEntityPage.PropertyKey.comments” [ERDLocalizedAssignment]
>
> So, if I understand correctly, the value you are comparing dsiplayNameForProperty to is the key in the Localizable.Strings file. Right?

Yeah, in this example, ListEntityPage.PropertyKey.comments would be the key in your Localizable.strings files.

>
> Sigh, I didn’t even know there was a ERDLocalizedAssignment.
>
> Dave

There’s even an ERDDelayedLocalizedAssignment, in case you don’t want to cache the key.

You should read through all the assignment classes for entertainment value alone. There’s some mind bending stuff in there (ERDDelayedRuleAssignment?). Then one day, you realize EOQualifier should allow custom selectors in the LHS qualifier and your brain explodes.

100: location isInTenMileRadiusOf object.gpsCoordinates => blinkinLightColor = {"qualifierFormat" = “operationStatus = '@@'"; "switch" = {“NORMAL" = “green"; “OVER_HEATED" = “yellow"; “CRITICAL" = “orange"; “MELTDOWN" = “red"; }; } [ERDDelayedSwitchAssignment]

//Using method signature like this on the location object...
public boolean isInTenMileRadiusOf(Object obj)

http://www.reactiongifs.com/r/2011/09/mind_blown.gif

:D
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >displayNameForProperty D2W ? (From: Theodore Petrosky <email@hidden>)
 >Re: displayNameForProperty D2W ? (From: Ramsey Gurley <email@hidden>)
 >Re: displayNameForProperty D2W ? (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: where is this coming from (warning)
  • Next by Date: Re: My last WOWODC
  • Previous by thread: Re: displayNameForProperty D2W ?
  • Next by thread: My last WOWODC
  • Index(es):
    • Date
    • Thread