On 11/3/10 7:02 PM, "Christiaan Hofman" <cmhof...@gmail.com> wrote:
> On Nov 3, 2010, at 16:09, Sherm Pendley wrote: > >> On Wed, Nov 3, 2010 at 8:58 AM, Ruslan Zasukhin >> <ruslan_zasuk...@valentina-db.com> 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] _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com