Collection Object

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Aug 3 11:08:49 CDT 2006


On 8/3/06 10:49 AM, "Philip Mötteli" <philip.moetteli at econophone.ch> wrote:

>> Sorry for little slow down in this discussion.
> 
> Well, I thought you're already working on the solution. :-)

:-))


>> In C++ this is not possible
> 
> I told you, you need dynamic binding.
> 
> 
>>> I just have to implement -retain and -release
>> 
>> In fact this sounds for me that you inherit from IUnknown.
>> May be this is hidden for you as Obj-C developer...
> 
> No, the collection just treats them as (void*) ­ as simple pointers.
> Don't you understand: By having dynamic binding, the compiler doesn't
> need to bind the method/function at compile time. It is dynamically
> resolved at runtime. The collection only stores a bunch of numbers of
> 'sizeof(void*)'.

Okay I see...

Just to know:

Does objC do at runtime string compare of name method for an instance to
find if this object have this or that method ?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list