Re: php call from Cocoa
Re: php call from Cocoa
- Subject: Re: php call from Cocoa
- From: j o a r <email@hidden>
- Date: Wed, 21 Sep 2005 15:51:33 +0200
On 21 sep 2005, at 15.45, Lorenzo wrote:
With "immediate" I mean
int result = [self CallPHP];
if(result == 0) return YES;
else return NO;
within the same method. Instead NSURLConnection starts a download in a
thread, so I can get a result only with
connectionDidFinishLoading:(NSURLConnection*)connection
I assumed as much. If you're doing downloads in the main thread of
your application you MUST use asynchronous operations. With the help
of NSURLConnection it's so easy that there is no reason why you
shouldn't.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden