Skip to content

XavierDK/MoyaStubbable

Repository files navigation

MoyaStubbable

MoyaStubbable is lightweight library to handle easy mocks recording/playing for Moya. It's fully developped in swift.

How To Get Started

Download MoyaStubbable and check out the tests for a comprehensive look at all of the functionalities available and how to use them.

Moya is a dependancy of MoyaStubbable.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C/Swift, which automates and simplifies the process of using 3rd-party libraries like Alamofire in your projects. See the "Getting Started" guide for more information.

http://guides.cocoapods.org/using/getting-started.html

Podfile

pod "MoyaStubbable"

Installation with Carthage

https://github.com/Carthage/Carthage

github "XavierDK/MoyaStubbable"

Other installation

Git clone the source.

Add MoyaStubbable folder to your project (or workspace).

Requirements

  • MoyStubbable is compatible with iOS 9 and upwards.
  • MoyStubbable uses automatic reference counting (ARC).

Support

MoyStubbable is provided open source with no warranty and no guarantee of support. However, best effort is made to address issues raised on Github.

If you would like assistance with integrating MoyStubbable or modifying it for your needs, contact the author Xavier De Koninck xavier.dekoninck@gmail.com for consulting opportunities.

License

MoyStubbable is Copyright (c) 2017 Xavier De Koninck and released open source under a MIT license :

Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.