• 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: iOS app launching speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS app launching speed


  • Subject: Re: iOS app launching speed
  • From: Roland King <email@hidden>
  • Date: Wed, 16 May 2012 09:08:53 +0800

On May 16, 2012, at 5:50 AM, Jens Alfke wrote:
>
> Async NSURLRequest, as already mentioned. It’s a little bit clunky to use by modern standards — I wish they’d add some nice block-based callbacks to it instead of making me implement yet another delegate class — but it works well, and it’s quite well documented by Apple and others.
>
> —Jens

+1

I eventually wrote a generic block-based delegate which fulfills 95% of my uses of NSURLConnection, I'm sure others have too. Just give it the NSURLRequest and a block to call on success or failure and off it goes. I'm hoping to see some more block-based callbacks creep into the next version of iOS (and OSX I guess), they are awesomely usable.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: iOS app launching speed (From: Alex Zavatone <email@hidden>)
 >Re: iOS app launching speed (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: iOS app launching speed
  • Next by Date: Re: iOS app launching speed
  • Previous by thread: Re: iOS app launching speed
  • Next by thread: HID Manager callbacks return 0 value for some devices
  • Index(es):
    • Date
    • Thread