[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[8]: Recent key-value encoding changes to NSObject.

From: Manuel Guesdon
Subject: Re[8]: Recent key-value encoding changes to NSObject.
Date: Mon, 11 Feb 2002 21:02:03 +0100 (CET)

On Mon, 11 Feb 2002 19:24:41 +0000 (GMT) Nicola Pero <address@hidden> wrote:
 >| will work; all the normal sequence of valueForKey: and storedValueForKey:
 >| are the usual ones, except that dictionary lookup is performed exactly
 >| after normal variables lookup.  Even if ... reading the thread on the
 >| mailing list, I'm not sure that valueForKey: accesses the internal
 >| dictionary at all !  That would even be simpler - you just remove the
 >| handleUnboundQueryWithKey:.
 >| If this is not yet correct, please would you list exactly the algorithm
 >| you want to be used in your custom valueForKey: and storedValueForKey:.

Thank you, Nicola & Richard. Finally, I'll copy the NSObject code in 
EOGenericObject and you can revert to previous
version of NSObject (sorry for all these problemes). Nicola's solution 
introduce another additional ivar lookup for some
case and make the whole thing more complex (who can say how this works for 
different cases in few weeks).
Richard's solution, seems too complex to me compared to the NSObject one.
If someone want to implement this differently later (and test it), he's welcome 

Manuel Guesdon - OXYMIUM <address@hidden>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998

reply via email to

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