Skip to content

@florieger florieger released this May 15, 2019

  • Swift 5.0 support.
  • Adjusted registerInteractor() to register Interactors for a given Request type.
    • It is no longer necessary to create an instance of the Request.
    • Old: registerInteractor(myInteractor, request: MyInteractor.Request())
    • New: registerInteractor(myInteractor, request: MyInteractor.Request.self)
  • Marked old implementation of registerInteractor() as deprecated.
Assets 2

@florieger florieger released this Feb 7, 2019 · 8 commits to master since this release

  • Swift 4.2 support.
  • Added reset() to InteractorSpy.
    • To easily reset the Spy to its initial state.
  • Adjusted InteractorSpy to always return a response, if at least one has been set.
    • e.g. set [responseA, responseB]
    • returns responseA, responseB, responseB, ...
Assets 2

@florieger florieger released this Feb 6, 2018 · 12 commits to master since this release

  • Added onCompleteVoid() function to InteractorRequests of type Void. #21
    • To simplify the completion call in the Interactor.
  • Added InteractorSpyto simplify unit testing. #22
    • The generic spy helps to create Interactor mocks quickly.
Assets 2

@florieger florieger released this Jan 25, 2018 · 23 commits to master since this release

  • Renamed InteractorExecuter to InteractorExecutor. #18
  • Added getInteractor() function to InteractorExecutor. #11
  • Made InteractorStatusGateway and InteractorStatusInMemoryGateway deprecated.
    • The gateway will be removed from upcoming versions.
    • We recommend to use a custom gateway or store the information in a class variable of the Interactor itself.
  • Improved Unit-Tests.
Assets 2

@florieger florieger released this Nov 1, 2017 · 38 commits to master since this release

  • Updated for Swift 4.0 and Xcode 9.0.1. #17
    • Adjusted Package.swift for PackageDescription API Version 4.
    • Adjusted folder structure for PackageDescription API Version 4.
  • Improved access modifiers.
  • Removed MutableInteractorError.
  • Removed deprecated ErrorHandler protocol.
Assets 2

@florieger florieger released this Aug 22, 2017 · 46 commits to master since this release

  • Updated for Swift 3.1 and Xcode 8.3
Assets 2

@florieger florieger released this Aug 22, 2017 · 54 commits to master since this release

  • Improved InteractorError
    • message property now returns the localizedDescription instead of the NSLocalizedDescriptionKey of the infoDict.
    • The change was necessary, because CoreData errors only return a localizedDescription, but have no entry in the dictionary.
    • Usually, the localizedDescription returns the dictionary entry.
Assets 2

@florieger florieger released this Apr 21, 2017 · 56 commits to master since this release

  • InteractorError in now an extension of NSError.
    • Now you can return NSErrors as InteractorErrors.
    • This should avoid creating custom InteractorErrors for each NSError you want to return from an Interactor.
  • Introduced errorDict on InteractorError for additional values.
  • Added MutableInteractorError.
Assets 2

@florieger florieger released this Apr 20, 2017 · 64 commits to master since this release

  • Fixed PackageDescription to include Tests to auto-generated Xcode project.
Assets 2

@florieger florieger released this Apr 20, 2017 · 65 commits to master since this release

  • Refactored to Swift Package.
  • Removed Xcode project.
Assets 2
You can’t perform that action at this time.