I just found this interesting article

http://gemma.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_5.html#//apple_ref/doc/uid/TP30001163-CH17-SW6

which states that properties and KVC are "orthogonal" and that
property acessors using the dot notation is calling getter/setter
methods and NOT setValue:forKey(Path):

so

object.property = newvalue

does not result in the the same method call as

[object setValue:newvalue forKey:@"property"]

Although the result is probably the same, it is translated into

[object setProperty:newvalue];

This might be important for the Objc-2.0 translator project.

-- hns

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to