SkygearIO / skygear-SDK-iOS

Skygear SDK for iOS
https://skygear.io
Other
10 stars 28 forks source link

Fix request/response handling on asset operations #18

Closed cheungpat closed 8 years ago

cheungpat commented 8 years ago

The majority of work is to revamp assets upload/download operations to conform with SKYOperation, so that HTTP 413 error is handled in SKYOperation.

The swift example is updated to show how to upload assets.

It is also found that SKYOperation does not call the completion handler of uploadAsset in a main thread, which is now fixed.

connects #5