// ---
// 4) Convert Synchronous Data into Human-Readable String
(Unicode 8) format:
NSString *serverDataString = [[[NSString alloc]
initWithData:serverData encoding:NSUTF8StringEncoding] retain];
This is an extra retain.
[[soapResponse layoutManager
Thanks for the editing.
Your help is deeply appreciated!
Ric.
On May 16, 2008, at 10:53 AM, stephen joseph butler wrote:
Your code is crashing because you have numerous pointer and memory
management issues.
On Thu, May 15, 2008 at 4:21 PM, <[EMAIL PROTECTED]> wrote:
- (IBAction)startSOAP:(id)
Your code is crashing because you have numerous pointer and memory
management issues.
On Thu, May 15, 2008 at 4:21 PM, <[EMAIL PROTECTED]> wrote:
> - (IBAction)startSOAP:(id)sender {
>NSError **myError;
NSError *myError;
>NSHTTPURLResponse **serverResponse;
NSHTTPURLResponse *serverResp
I needed to modify the default 'GET' Response of the NSURLRequest to a 'POST'...
So I changed 'NSURLRequest' to a 'NSMutableURLRequest' to modify the HTTPMethod:
// ---
// 2) Create the request.
NSMutableURLRequest *theRequest=[NSMutableURLRequest
reques
On 05/15/2008 17:56 Jens Alfke wrote ..
"...You should call [NSApp terminate: self] instead. "
I did that; and repeated it.
I'm running in debug mode. The program "works" till I QUIT via [NSApp
terminate:self].
Now I'm getting (via gdb console {Running as a Cocoa App on my MacBookPro):
Runni
On 15 May '08, at 2:21 PM, [EMAIL PROTECTED] wrote:
The Cocoa code below "works". I get data back from the server.
However, I'm unable to QUIT this application after this particular
routine passes through. I checked the Activity Monitor and can see
a bunch of threads still in session
Greetings:
The Cocoa code below "works". I get data back from the server. However,
I'm unable to QUIT this application after this particular routine passes
through. I checked the Activity Monitor and can see a bunch of threads still
in session:
Call graph:
1922 Thread_2503
1922