Re: NSString and UIWebView load

2009-09-13 Thread Jens Alfke
The crash log shows the crash is in a background thread running Data Detectors code: Thread 3 Crashed: 0 libobjc.A.dylib 0x93ca268c objc_msgSend + 28 1 CoreFoundation 0x30288bb4 __CFSTUnitWordSentenceLineSetString + 1204 2 DataDetectorsCore

Re: NSString and UIWebView load

2009-09-12 Thread Jens Alfke
There aren't any obvious ref-counting problems in the code you posted. What's the backtrace of the crash? Also, have you tried using the new Build And Analyze command in Xcode 3.2? It can help find some problems like these. *[newWebView **loadHTMLString**:htmlContentTemp **baseURL**: [**NSUR

Re: NSString and UIWebView load

2009-09-12 Thread Dragos Ionel
I still cannot figure this out, so any help would be kind appreciated. I followed the debugging steps from hereand here is what I obtained: Code except: .h file: ...

Re: NSString and UIWebView load

2009-09-11 Thread Andrew Farmer
On 11 Sep 2009, at 06:59, Dragos Ionel wrote: Is the following code supposed to run correctly? NSString* *htmlContent* = ...;// very long html content UIWebView* webView = [[UIWebView alloc] initWithFrame:...]; [webView loadHTMLString:*htmlContent* baseURL:...]; //assume this will take som

NSString and UIWebView load

2009-09-11 Thread Dragos Ionel
Is the following code supposed to run correctly? NSString* *htmlContent* = ...;// very long html content UIWebView* webView = [[UIWebView alloc] initWithFrame:...]; [webView loadHTMLString:*htmlContent* baseURL:...]; //assume this will take some time *htmlContent* = @"different text"; My que