realbasic-nug
[Top] [All Lists]

Re: FolderItem.delete Oddities?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: FolderItem.delete Oddities?
From: Thomas Tempelmann <tempelmann@gmail.com>
Date: Tue, 31 Mar 2009 21:53:47 +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; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TmrFJX3fMawPKtUdccBdSBaAiQmAfWKuIjgIL+3jA00=; b=nu0bmCmRIJJLZviobXvd/dripIQR3ER+FMYmYAuFfmKJldg5UJPvEixu9PjK93u3KO AxXmOhnnefoDnbE0Z4NoWdbAjQ1A+HLKmbJe8RG37hzelgLjmoug5+isjlvBl/KnA8rW ib91IrX+vZYA/RHkCyfOr/CvmxFfai4NPdSrA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=RJ+j0QAu8g0AXFEvBoix9/p3Eh68yWv742KW/7QrxlBWQvaQdguZFq4cvufH7B2TS5 LK8k6zoo4mDMama1LiQIs2qHaRgOcfcbcKDKPVPgmlCnsK5dQNdiJzJaSeoB3HQ5mdAV gtMyAq6ZK62F54r2AYATjjir4rw9a13LSPyg8=
In-reply-to: <2DA6A6CD-2049-437C-B9DC-F95144365F35@mac.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>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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.

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)

-- 
Thomas Tempelmann, http://www.tempel.org/

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