• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FastEnumeration for TWO kinds of objects in class.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FastEnumeration for TWO kinds of objects in class.


  • Subject: Re: FastEnumeration for TWO kinds of objects in class.
  • From: Ruslan Zasukhin <email@hidden>
  • Date: Wed, 03 Nov 2010 18:26:14 +0300
  • Thread-topic: FastEnumeration for TWO kinds of objects in class.

On 11/3/10 7:02 PM, "Christiaan Hofman" <email@hidden> wrote:

> On Nov 3, 2010, at 16:09, Sherm Pendley wrote:
>
>> On Wed, Nov 3, 2010 at 8:58 AM, Ruslan Zasukhin
>> <email@hidden> wrote:
>>>
>>> I wonder if this is possible?
>>>
>>> Let we have class Vdatabase, which have few kinds of sub-elements
>>>    Tables
>>>    Links
>>>    Indexes
>>>    Triggers
>>>
>>> We was able make FastEnumeration for Tables.
>>> But we need more ?
>>>
>>> Is it possible?
>>>
>>>    for( Vtable pTable in db )
>>>
>>> And
>>>
>>>    for( VLink pLink in db )
>>>
>>> And so on?
>>
>> That *should* work - what problems are you having that lead you to
>> think it might not?

>> sherm--
>
> Not really. These two statements will do *exactly* the same thing.

right

> In Obj-C
> the typing for objects does not matter for compilation, it only affects
> compile time *checking* (this is not C++). This also means that one of these
> would be lying about the class. Apart from that, strong typing requires the *.
>
> Of course you should know all that if you'd read a minimum of introduction to
> Obj-C.

This page gives nice answers

http://stackoverflow.com/questions/4087958/interesting-task-for-fast-enumera
tion-protocol


--
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]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: FastEnumeration for TWO kinds of objects in class. (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: FastEnumeration for TWO kinds of objects in class.
  • Next by Date: Re: FastEnumeration for TWO kinds of objects in class.
  • Previous by thread: Re: FastEnumeration for TWO kinds of objects in class.
  • Next by thread: Re: FastEnumeration for TWO kinds of objects in class.
  • Index(es):
    • Date
    • Thread