realbasic-nug
[Top] [All Lists]

Re: FolderItem.delete Oddities?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: FolderItem.delete Oddities?
From: Arnaud Nicolet <anic297@mac.com>
Date: Tue, 31 Mar 2009 21:57:13 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <89fe53800903311253w3f1e5db6n845945cf80f1150b@mail.gmail.com>
References: <382799.72156.qm@web65614.mail.ac4.yahoo.com> <A0B9E68F-F447-4291-9727-E72D8648E1B4@online.de> <58031FB4-BB70-45EC-B698-FBB7998DC783@mac.com> <E7631244-FE97-4299-BC4A-79EDF81E8393@online.de> <89fe53800903311240y1999380dt2fbfe60ce44cc408@mail.gmail.com> <2DA6A6CD-2049-437C-B9DC-F95144365F35@mac.com> <89fe53800903311253w3f1e5db6n845945cf80f1150b@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Le 31 mars 09 à 21:53, Thomas Tempelmann a écrit:

On Tue, Mar 31, 2009 at 21:49, Arnaud Nicolet <anic297@mac.com> wrote:

Well, you have explained it well, but I'm not happy with this new way (it's simply preventing to make nicer apps for Mac OS X because other OSes are too
fool to adopt more flexible APIs).

Don't you get it? OS X is now the same way. None of the supported
platforms are now efficient with the way the (old) RB framework
allowed direct indexing.

Yes, I think I got it. You appear to say the same as me.

In fact, it's the FolderItem.Item() function that should get
deprecated in favor of a Items() function that returns an array of all
items in a dir. Or one that returns an FolderItemIterator object that
you can then call to get each item, one by one (using a Next() call)

Yes, I agree completely. The Item method is a dark one.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>