Introduction
Welcome to the documentation for the GluedinDMSDK!
Installation
To use the GluedinDMSDK, follow these steps:
Step 1: Download the SDK
- Visit the official GluedinDMSDK website.
- Click on the “Download SDK” button.
- Save the SDK file to your local machine.
Step 2: Include the SDK in your project
Add the following line of code to your project’s dependencies:
pod 'GluedinDMSDK'
Step 3: Import the SDK
Import the GluedinDMSDK module in each file where you want to use it:
import GluedinDMSDK
Usage
Here are some examples on how to use the GluedinDMSDK:
Example 1: Initializing the SDK
You can initialize the SDK by calling the following method:
let sdk = GluedinDMSDK.initialize()
Example 2: Fetching documents
To fetch documents from the server, use the following method:
sdk.fetchDocuments { documents in
// Handle the fetched documents
}
Example 3: Uploading a document
To upload a document to the server, use the following method:
let document = Document(url: fileURL, name: documentName)
sdk.uploadDocument(document) { success in
// Handle the upload completion
}
Additional Resources
For more information, please refer to the following resources: