[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Objective-C 2.0 and other new features in Leopard
From: |
address@hidden |
Subject: |
Re: Objective-C 2.0 and other new features in Leopard |
Date: |
Mon, 05 Nov 2007 05:20:21 -0800 |
User-agent: |
G2/1.0 |
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
- Re: Objective-C 2.0 and other new features in Leopard,
address@hidden <=
- Re: Objective-C 2.0 and other new features in Leopard, Lars Sonchocky-Helldorf, 2007/11/09
- Re: Objective-C 2.0 and other new features in Leopard, Markus Hitter, 2007/11/09
- Re: Objective-C 2.0 and other new features in Leopard, Aria Stewart, 2007/11/09
- Re: Objective-C 2.0 and other new features in Leopard, Reuss András, 2007/11/09
- Re: Objective-C 2.0 and other new features in Leopard, Aria Stewart, 2007/11/09
- Re: Objective-C 2.0 and other new features in Leopard, Reuss András, 2007/11/09