It is possible to use SwiftyMocky not in tests, but to fake/prototype inside application (works on device).
For this reason, there is an additional library extracted from Swiftymocky, that does not rely on XCTest framework.
Installation and generation is exactly same as with SwiftyMocky. Install CLI and inegrate runtime, via one of the options below, and mark target in Mockfile with
To install it, simply add the following line to your Podfile:
To install, add following to you Cartfile:
carthage update and add
SwiftyPrototype to your target.
Add SwiftyPrototype to you Package.swift dependencies:
dependencies: [ .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.0.1"), ]
SwiftyPrototype to your target dependencies.