NSURL produces spinning beach ball - how to get rid?
NSURL produces spinning beach ball - how to get rid?
- Subject: NSURL produces spinning beach ball - how to get rid?
- From: Yuhui <email@hidden>
- Date: Sun, 9 Sep 2001 23:24:12 -0500
Hi
I have a portion of code that uses NSURL to get a HTML file, e.g.
data = [NSMutableString stringWithContentsOfURL:[NSURL
URLWithString:@"
http://www.apple.com/"]];
where data is, sensibly enough, a NSMutableString.
However, this approach produces the spinning beach ball mouse cursor and
the app seems to freeze up while retrieving the data. Is there a way to
work around this freeze?
Thanks
Yuhui