coreyfloyd / FJURLBlockManager

Network fun, with blocks!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#FJBlockURL

###The Quick and Dirty

FJBlockURLRequest is a subclass of NSMutableURLRequest.

Instead of creating a NSURLConnection and implementing the associated methods, you instead set the appropriate handler blocks of each individual request.

Requests are scheduled and processed by instances of FJBlockURLManager. Managers can be configured to process requests in stack or queue order. You can also set the number of concurrent requests.

###Slightly More Additionally you can:

  • Upload files directly from disk
  • Provide an object that sets headers (For uses like OAuth, example class included)
  • Provide a object that formats responses (Like JSON, example also included). These are chain-able.
  • set an incremental upload progress handler
  • set an incremental download handler
  • and more… (i.e. things I am too lazy to document right now)

About

Network fun, with blocks!


Languages

Language:Objective-C 68.7%Language:C 30.7%Language:Ruby 0.6%