Skip to content

Releases: ProVir/WebServiceSwift

Support Swift 5.0

Choose a tag to compare

@ProVir ProVir released this 30 Mar 11:34

Upgrade to Xcode 10.2 and support swift 5.0

Support Swift 4.2

Choose a tag to compare

@ProVir ProVir released this 19 Sep 01:43

Added support swift 4.2 and Xcode 10

3.0.0

Choose a tag to compare

@ProVir ProVir released this 04 Sep 10:34

New major version framework - full upgrade all functional.

Fix bugs and update WebServiceMockRequesting

Choose a tag to compare

@ProVir ProVir released this 20 May 04:54
  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.

Choose a tag to compare

@ProVir ProVir released this 17 May 14:40
  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.

Choose a tag to compare

@ProVir ProVir released this 28 Aug 04:56
  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

Choose a tag to compare

@ProVir ProVir released this 27 Aug 05:39
WebService 2.0.0 without pods