• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: php call from Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: php call from Cocoa (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Using an IB-built view multiple times
  • Next by Date: NSDatePicker Question with NSArrayController and Master/Detail interface
  • Previous by thread: Re: php call from Cocoa
  • Next by thread: Universal Binary and 3rd party PPC frameworks
  • Index(es):
    • Date
    • Thread