Hi all,

     I'm trying to understand how the KVC works in Objective-C. It seems to
me that the 'set' method is not case-sensitive? For example, if I define a
class with:

    @interface TestClass : NSObject
    {
         int fido;
         int Fido;
    }

   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?


Regards,
DairyKnight
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to