Skip to content

Get Started

Sergey edited this page Jul 28, 2018 · 1 revision

Get Code

YAHTTPVCR can be integrated into your project using CocoaPods. Next two steps will help prepare environment and project for YAHTTPVCR usage:

  1. Latest version of CocoaPods required. Following commands can be used to install and/or update CocoaPods:

    gem install cocoapods
    gem update cocoapods
  2. Create or update existing Podfile in your project root folder and add:

    pod 'YAHTTPVCR'

Integration

After all preparations has been done, YAHTTPVCR integration can be completed with following steps:

  1. From folder which contain Podfile run following command:
    pod install
    
    This command will download sources and add them into your project. After installation process completion, make sure to open project using file with xcworkspace extension.
  2. YAHTTPVCR framework headers should be imported into source code where it will be used:
    #import <YAHTTPVCR/YAHTTPVCR.h>