On Tue, Apr 28, 2009 at 12:09 AM, DairyKnight <[email protected]> wrote:

>   And have the following set methods:
>
>   -(void) setfido ...
>   -(void) setFido ...
>
>   Both by calling [self setValue: ... forKey:@"fido"] or [self setValue:...
> forKey:@"Fido"], the runtime would call the same 'setFido' method. How could
> this be?

-setfido is not a KVC compliant method name.

Fido is not a KVC compliant iVar name. (Though generally you should be
using KVC via accessor methods and not via direct iVar access anyway.)

http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/Compliant.html

- Jim
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to