• 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: Why won't this work!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't this work!?


  • Subject: Re: Why won't this work!?
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 24 Oct 2007 09:41:23 -0400

Yes .... NSKeyValueCoding interface is what makes it work.

the WOD dict.key1 is the same as the java code
dict.valueForKey( "key1" );

On Oct 24, 2007, at 9:36 AM, Daniele Corti wrote:

I've notice one thing with NSDictionary: 
 you can call directly the key of the element to get the value:

dict = {key1 = "MyValue1", key2 = "MyValue2"}

str : WOString {
   value = dict.key1;
}

and result is MyValue1. 

is this how dictionaries work?

 _______________________________________________
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: 
 >Why won't this work!? (From: Miguel Arroz <email@hidden>)
 >Re: Why won't this work!? (From: Mike Schrag <email@hidden>)
 >Re: Why won't this work!? (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: Why won't this work!?
  • Next by Date: Re: Why won't this work!?
  • Previous by thread: Re: Why won't this work!?
  • Next by thread: Re: Why won't this work!?
  • Index(es):
    • Date
    • Thread