Re: Explain "take"
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.