[Top][All Lists]

[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


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):


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]