Change used of NSString* to NSURL* in the public API#3
Change used of NSString* to NSURL* in the public API#3marcomorain wants to merge 1 commit intoevoL:2.2from
Conversation
|
@evoL your fork seems to be the new home of AFAmazonS3Client :) |
|
Well, I don’t consider myself a person responsible for the future of AFAmazonS3Client. :P That being said, I think it’s worth to describe how I’d like to organize features around here:
Anyway, care to elaborate more about your changes? What’s the motivation between changing |
|
I didn't really explain what I am dong here at all, did I? :) I started trying to use the official AFAmazonS3Client along with the latest AFNetworking using cocoa pods and I ran into the incompatibility problems that your 2.2 branch fixes. I then ran into other problems getting PUT operations to work with a bucket that is not in the main S3 region (I have a bucket in EU-West-1). I'll annotate what those problems were in the diff shortly. As for the change from |
There was a problem hiding this comment.
If the user passes a path does not exist locally here, then data will be null, and the PUT operation will not take place. This was causing my problems because setObjectWithMethod does not return anything to indicate failure, nor does it call the block passed as failure. The code was just failing silently. This was the first thing that I changed.
|
Wow. Thanks for a thorough explanation. :D I have some minor issues with your changes though:
I admit that I haven’t tested your code due to my busy schedule, but it would be great if you’d fix those things. I’m going to find some time in the following days to play with your changes and maybe find some solutions for your |
|
Awesome, thanks Rafal! On Thu, May 8, 2014 at 2:55 PM, Rafał Hirsz notifications@github.comwrote:
|
No description provided.