Re: ADC Core Data article
Re: ADC Core Data article
- Subject: Re: ADC Core Data article
- From: Marcel Weiher <email@hidden>
- Date: Sat, 9 Apr 2005 14:03:36 +0200
On 9 Apr 2005, at 10:37, Byron Ellis wrote:
On Apr 9, 2005, at 12:44 AM, Marcel Weiher wrote:
Wow! I must have missed that one. How do I express [matrix
matrixTranslatedBy:2.3 y:[slider floatValue]] in KVC? Or how
about: [[array1 select] isEqual:[array2 each]];
[matTranslator setValue:matrix forKey:@"matrix"];
[matTranslator setValue:[NSNumber numberWithFloat:2.3] forKey:@"x"];
[matTranslator setValue;[NSNumber numberWithFloat:[slider
floatValue] forKey:@"y"];
//alternately
//[matTranslator bind:@"y" to:slider withKeyPath:@"value"
options:nil];
[matTranslator valueForKey:@"translated"];
I don't see how this shows that KVC is isomorphic to message sending,
as it assumes the existence of an additional element that is not part
of KVC, at least I didn't notice a MatTranslator class as part of
KVC. I could have missed it, though... ;-)
Marcel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden