Re: [Pyobjc-dev] Key/Value Coding
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-08-14 20:06:35
|
On Thursday, 14 August, 2003, at 20:19, b.bum wrote: > Right -- it is of my opinion that the support for K/V coding as > presented in PyObjC should follow the rules of Objective-C as closely > as possible. Hence, a callable attribute in the path should be called > and the value returned. If the callable returns a callable -- then > that callable is returned. To be pedantic: the rules in Objective-C is that methods get called, and instance variables get used as is. The current implementation in PyObjC does the same thing, it is possible to distinguish methods from attributes that happen to be callable. Ronald |