Skip to content

Releases: ProVir/WebServiceSwift

Support Swift 5.0

30 Mar 11:34
Compare
Choose a tag to compare

Upgrade to Xcode 10.2 and support swift 5.0

Support Swift 4.2

19 Sep 01:43
Compare
Choose a tag to compare

Added support swift 4.2 and Xcode 10

3.0.0

04 Sep 10:34
Compare
Choose a tag to compare

New major version framework - full upgrade all functional.

Fix bugs and update WebServiceMockRequesting

20 May 04:54
Compare
Choose a tag to compare
  1. Rename method WebService.performRequest with base requests to WebService.performBaseRequest. Bug: use requests as WebServiceBaseRequesting, but require WebServiceRequesting with response type.
  2. Fix bug: after finished request it don't removed from list requests in process in WebService.
  3. In WebServiceMockRequesting return type now generic ResultType in method responseHandler().
  4. In WebServiceMockRequesting.createHelper() method removed identifier parameter.
  5. All WebService.cancelRequest and WebServiceRequestProvider.cancelRequest renamed to cancelRequests.
  6. Add cancelRequests for Request type (ignore requestKey).
  7. Change logic WebServiceRequestProvider.cancelAllRequests - now cancel only current requests type.

Result Types in Requests, Thread safe, Mock Engine and Providers.

17 May 14:40
Compare
Choose a tag to compare
  1. WebServiceRequesting.requestKey as optional. If Request as Equatable or Hashable, requestKey = request, else nil.
  2. WebServiceRequesting now is generic protocol and require Result Type.
  3. WebServiceResponse now is generic and can convert response to concrete type. Closures in WebService now use WebServiceRequesting.ResultType as information for response type.
  4. WebService class now full thread safe.
  5. Added WebServiceMockEngine for emulator data from server.
  6. Support Custom and Request Providers.

Warning!
After update from 2.1 to 2.2 your project compile have errors. Update your code for use 2.2.
Fast update requests: WebServiceRequesting replace to WebServiceBaseRequesting (no generic).

2.1: Support thread queue and dataHandler from box.

28 Aug 04:56
Compare
Choose a tag to compare
  1. Added DispatchQueue settings.
  2. Added method dataHandler as universal data processing method for data from server and storage.
  3. Added CocoaPods and Cartage.

2.0.0

27 Aug 05:39
Compare
Choose a tag to compare
WebService 2.0.0 without pods