discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLHandle availableResourceData


From: Richard Frith-Macdonald
Subject: Re: NSURLHandle availableResourceData
Date: Tue, 13 Jan 2004 09:22:20 +0000


On 13 Jan 2004, at 04:56, J. Aaron Pendergrass wrote:

Hey, I've been trying to optimize some code that uses NSURLHandle to download mp3s from a daap server (i.e. iTunes). In order to improve the speed of decoding, I was trying to use NSURLHandle's availableResourceData (while it is still loading in the background) selector to access the handle's internal buffer (to avoid spending time copying it's contents into my own buffer). But it seems to just return nil until the data is done being loaded.
This doesn't sound like the behavior described in the documentation.
Am I missing something?
Is this just not fully implemented yet?
Is there a better way?
thanks

I think that's a bug ... try updating from CVS, or just remove the conditional in the -availableResourceData method.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]