Commit graph

293 commits

Author SHA1 Message Date
Mattt Thompson
eebc763f7f Adding documentation to UIImageView category
Changing API for setImageWithURLRequest:placeholderImage:success to setImageWithURLRequest:placeholderImage:success:failure
2011-09-22 11:30:13 -05:00
Mattt Thompson
c84ca99269 Adding documentation for AFNetworkActivityIndicatorManager
Changing public API for AFNetworkActivityIndicatorManager from -start/stopAnimating to -increment/decrementActivityCount
2011-09-22 10:25:55 -05:00
Mattt Thompson
95ca172d9d Fixing API call for spots in the example app 2011-09-22 10:25:07 -05:00
Mattt Thompson
2dd68212c0 Adding +clientWithBaseURL:
Noting that initWithBaseURL: is the designated initializer
2011-09-22 09:43:58 -05:00
Mattt Thompson
2a8cce88a5 Changing AFImageCache APIs to use URLs rather than NSURLRequests
Completing documentation for AFImageCache
2011-09-21 23:46:00 -05:00
Mattt Thompson
d67db7172a Completing documentation of AFImageRequestOperation 2011-09-21 23:34:05 -05:00
Mattt Thompson
4cb29d24ad Adding class description to AFJSONRequestOperation 2011-09-21 23:21:41 -05:00
Mattt Thompson
e21a7b5aa1 Updating and completing documentation for AFHTTPClient 2011-09-21 23:16:35 -05:00
Mattt Thompson
ebb6eb21ad You know what's an even _better name? AFHTTPClient. Boom. 2011-09-21 22:42:01 -05:00
Mattt Thompson
cad7d40642 Fixing AFRESTClient filenames in preambles 2011-09-21 17:56:12 -05:00
Mattt Thompson
ab91d07575 Renaming AFRestClient to AFRESTClient 2011-09-21 17:55:24 -05:00
Mattt Thompson
c0c79a7675 Further additions to AFRestClient documentation 2011-09-21 17:51:05 -05:00
Mattt Thompson
e7aba7d47a Making most explicit UIImageView image setting method take NSURLRequest, to allow for overriding cache policy, timeout interval, and other request properties 2011-09-21 17:13:20 -05:00
Mattt Thompson
3512b3b606 Dispatching callbacks to main thread for Image requests 2011-09-21 16:52:22 -05:00
Mattt Thompson
9a78cc54cd Dispatching callbacks to main thread for JSON requests 2011-09-21 16:07:25 -05:00
Mattt Thompson
e67a7ee20e Merge pull request #35 from evanlong/master
Consistent use of main thread for success/failure callbacks in AFJSONRequestOperation
2011-09-21 14:03:35 -07:00
Mattt Thompson
abc04440f7 Adding documentation to constants in AFHTTPRequestOperation 2011-09-21 15:55:21 -05:00
Mattt Thompson
69c48f85bb Removing unused -layoutSubviews code in SpotTableViewCell 2011-09-21 15:50:42 -05:00
Mattt Thompson
3b81cd32a7 Fixing optimization to not re-initiate duplicated calls to a UIImageView, by adding missing check to see if the last operation was cancelled 2011-09-21 15:50:22 -05:00
Mattt Thompson
6832cd0e16 Adding #import for Foundation to AFJSONRequestOperation 2011-09-21 15:34:08 -05:00
Mattt Thompson
db4c852e3d [Issue #33] Changing return type of class method object contructors from id to an actual instance of that class 2011-09-21 15:33:20 -05:00
Mattt Thompson
f422cafe14 Removing UIImage category in favor of static function to resize images in UIImageView category implementation 2011-09-21 14:32:30 -05:00
Mattt Thompson
341153605f Fixing a few things with AFRestClient multipart request functionality 2011-09-21 14:22:21 -05:00
Mattt Thompson
8b8605185b Replacing NSMutableURLRequest category method with more flexible constructor in AFRestClient
Adding AFRestClient -multipartFormRequestWithMethod:path:parameters:constructingBodyWithBlock:

Defining AFMultipartFormDataProxy protocol

Replacing constant value for string encoding with @property with default of NSUTF8Encoding
2011-09-21 14:00:05 -05:00
Mattt Thompson
ca02e02b11 Removing categories on NSData and NSString, moving them to static functions in AFRestClient
Removing Gzip functionality, which will be extracted into its own library
2011-09-21 11:36:39 -05:00
Evan Long
330427d21a Making sure the success/failure callbacks for operationWithRequest are always
called on the main thread.
2011-09-19 15:53:36 -07:00
Mattt Thompson
2f7f527d9c First (half of a) draft of AFRestClient documentation 2011-09-18 15:06:29 -05:00
Mattt Thompson
5755666b30 Adding class overview to AFHTTPRequestOperation documentation 2011-09-18 14:27:32 -05:00
Mattt Thompson
0a5e5400cc Revising link formatting in AFJSONRequestOperation documentation 2011-09-18 14:09:01 -05:00
Mattt Thompson
e2a00952aa Revising AFJSONRequestOperation documentation
When nil is specified as acceptable status code or content type, don't perform those validations (i.e. accept any value)
2011-09-18 14:06:22 -05:00
Mattt Thompson
0f5814b17f First draft of documentation for AFJSONRequestOperation 2011-09-18 13:56:30 -05:00
Mattt Thompson
ce2034beb8 First draft of documentation for AFHTTPRequestOperation 2011-09-18 13:19:18 -05:00
Mattt Thompson
5cf1028433 Removing AFRestClient basic forms of GET/POST/PUT/DELETE methods 2011-09-16 23:57:47 -05:00
Mattt Thompson
3e3d94f938 Removing stray reference to QuartzCore.framework 2011-09-16 23:57:01 -05:00
Mattt Thompson
29ace55cf1 Updating code example in README (setProgressBlock: -> setUploadProgressBlock:) 2011-09-16 23:26:19 -05:00
Mattt Thompson
c74eca7c9b Updating code example in README (setProgressBlock: -> setUploadProgressBlock:) 2011-09-16 23:26:03 -05:00
Mattt Thompson
75a0e1935a Fixing zlib inflate and deflate NSData category methods 2011-09-16 23:23:34 -05:00
Mattt Thompson
04dad96904 Fixing zlib inflate and deflate NSData category methods 2011-09-16 23:23:14 -05:00
Mattt Thompson
9ee84844c4 Updating example project to new image request API 2011-09-16 22:41:21 -05:00
Mattt Thompson
2610b0b57a Minor refactoring to Location Formatter 2011-09-16 22:41:10 -05:00
Mattt Thompson
50014afa22 Refactoring image request API to remove unnecessary configuration, and focus the design goals of those classes 2011-09-16 22:40:52 -05:00
Mattt Thompson
251ce062f2 Stashing XML Request Operation 2011-09-16 10:36:36 -05:00
Mattt Thompson
686854b8da Fixing AFHTTPRequestOperation -responseString, to use string encoding from response, rather than assuming UTF8 2011-09-16 10:10:15 -05:00
Mattt Thompson
085d14ed82 Fixing AFHTTPRequestOperation -setCancelled: 2011-09-16 10:09:24 -05:00
Mattt Thompson
a3970f823d Changing AFHTTPRequestOperation @properties to be readonly
Rearranging ivars
2011-09-16 10:08:49 -05:00
Mattt Thompson
72d9a24777 Adding AFRestClient -enqueueHTTPOperation: 2011-09-16 10:06:11 -05:00
Mattt Thompson
2b9a66d7a9 Changing AFRestClient +baseURL to a @property 2011-09-16 10:02:51 -05:00
Mattt Thompson
76d9b2bfc8 Adding -cancelImageRequestOperation to UIImageView category
Improving performance of UIImageView -setImageWithURL:... by cancelling running operation if new image url request is different than passed url request
2011-09-15 14:29:29 -05:00
Mattt Thompson
57be1b3b6e Fixing AFHTTPOperation's implementation of -cancel, to match expectations of NSOperationSubclass 2011-09-15 14:26:55 -05:00
Mattt Thompson
6572cde680 Minor code formatting for initial data capacity from expectedContentLength 2011-09-15 12:28:30 -05:00