Skip to content

Enterprise-Content-Management/SwiftyRest

Repository files navigation

SwiftyRest / Documentum REST iOS Framework in Swift

License: Apache 2

<<<<<<< Updated upstream This ios framework contains a series of API of Documentum REST Services written in Swift code. The purpose of this project is to simplify users' efforts on developing an iOS client to cooperate with Documentum REST Services. It does NOT indicate that uses could not develop a customized framework using other technologies.

Opentext shares the source code of this project for the technology sharing. If users plan to migrate the sample codes to their products, they are responsible to maintain this part of the codes in their products and should agree with license polices of the referenced libraries used by this sample project.

Overview

This Documentum REST Services client is written with Swift code. This project is organized by CocoaPods.

System Requirements

  1. Documentum REST Services 7.3 or higher is deployed in the development environment.
  2. iOS 10.x SDK is installed.
  3. Xcode is recommended as the IDE to compile, build and run this project.

Install CocoaPods

Open the terminal in Mac OSX and run below command to install the latest ruby (>= 2.2.2).

$ brew install ruby

Run below command to install CocoaPods.

 $ sudo gem install cocoapods

Build and Run

  1. Download the project into your local workspace.

  2. Open the terminal and navigate to the project directory which contains the file Podfile.

$ cd SwiftyRest

  1. Run below command to install all dependency libraries for this project.

$ pod install

  1. Double click on the project file RestClient.xcworkspace to open the project as cocoapods project structure.

  2. Build the project with Xcode by clicking the Build button or pressing ⌘R on the IDE to launch the test.

  3. Find SwiftyRest.framework from Build folder of the project.

  4. Add the framework file to your project by menu Files -> Add files to YOU_PROJECT_NAME ======= You can add this framework as customized framework by

  • Build this project
  • Find SwiftyRest.framework from 'Build' folder.
  • Add it from menu 'Files' -> 'Add files to YOU_PROJECT_NAME'

Stashed changes