Our PICTOFiT SDK enables you to integrate features like virtual try-on (mix & match), capturing of personalised avatars, AR & 3D viewing, etc. into your application. The SDK already comes with a set of sample resources for you to explore the functionality. Some features require the PICTOFiT Content Service for processing in the cloud. Please contact our sales team to get a trial access.

All data needs to be hosted by the customer as Reactive Reality doesn’t provide any hosting. Therefore, assets generated by the PICTOFiT Content Service must be transferred to your backend/CDNs.

Prerequisites

  • Apps using Pictofit must target iOS 13 or later.

  • XCode 11.5 or later required

  • Swift 4.2 or later


Installation

We deliver the Pictofit SDK as a dynamic framework file using Cocoa Pods. The following steps are needed to integrate our framework into your application.

  1. Make sure you have a Podfile to specify the library dependencies of your app.

  2. Add our cocoa pods repo git@gitlab.com:reactivereality/public/public-cocoa-pods.git to your Podfile.

  3. Add PictofitCore as a dependency to your Podfile.

  4. Run pod install in your app’s root folder.

  5. Make sure to open the <App Name>.xcworkspace file when opening the project so the installed cocoa pod dependencies are properly linked.

The following snippet shows a sample Podfile template for an app named MyApp that just has PictofitCore as its only depending cocoa pod:

source 'git@gitlab.com:reactivereality/public/public-cocoa-pods.git'
target 'MyApp' do
  pod 'PictofitCore'
end
NONE

Using the framework

Use import PictofitCore at the top of your SWIFT source files to make the PictofitCore available for use within your code. For Objective C apps use #import <PictofitCore/PictofitCore.h>.

Sample Repository

Throughout the different sections of the documentation, you’ll find samples showing how to implement the described functionality. All of these samples can be found in our sample repository.