• 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: Explain "take"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Explain "take"


  • Subject: Re: Explain "take"
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Sun, 11 Jul 2004 17:23:49 -0700

on 7/11/04 4:44 PM, Lotsa Cabo at email@hidden wrote:

> Okay, I've been asked another simple question regarding WebObjects and
> cannot properly explain it.  Can someone give me a good explanation,
> please?
>
> The question...
>
> "When SETTING a value for WOComponent, why must one use
> 'takeValueForKey?'  Should it not be 'setValueForKey' or something
> similar?  Why the word 'take?'"

Because the WOComponent will now own the object.

It is "taking" the object from you.

--
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<email@hidden>
<http://www.austin-home.com/glenn/>
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • WhyWebObjects.com is now active!!
      • From: Dov Rosenberg <email@hidden>
References: 
 >Explain "take" (From: Lotsa Cabo <email@hidden>)

  • Prev by Date: Re: Explain "take"
  • Next by Date: Re: using WORadioButton.
  • Previous by thread: Re: Explain "take"
  • Next by thread: WhyWebObjects.com is now active!!
  • Index(es):
    • Date
    • Thread