Egnyte iOS SDK (Objective-C & Swift) – Tutorial

 In CloudRail, Tutorial

In this tutorial we’ll talk about how to integrate the Egnyte Objective-C SDK or the Egnyte Swift SDK into your iOS app. Since Egnyte doesn’t offer SDKs for these platforms, we use CloudRail which also comes with more advantages.

About Egnyte & the iOS SDK

Egnyte is a cloud storage provider similar to Box or Dropbox. The main differentiator is the focus on only enterprise customers. Therefore the service offers features which are designed especially for this target audience like the possibility to host files on premise on the own company infrastructure.
For developers, Egnyte offers a REST API to easily make it available in 3rd party applications. Unfortunately, the company neither offers a Objective-C SDK nor a version for Swift. This is why we use CloudRail in this tutorial and quickly talk about the amazing features which come with this API integration solution.

About CloudRail

CloudRail and Egnyte partnered to bring easy integrations to iOS developers. The solution lets you integrate multiple cloud storage providers via the same API. So the function upload() works for example exactly the same for Egnyte as it does for Dropbox, Google Drive, Box or OneDrive.
Moreover, CloudRail offers a feature called API Change Management. It ensures that integrations you’ve made once will keep working in the future as well. It automatically detects API changes, the integrations are updated and you get a notification to update your SDK to its latest version. A major advantage of this solution is that no data ever passes a CloudRail server. All data flows P2P between your app and Egnyte.

How to Integrate the Egnyte iOS SDK

Here are the steps you need to take to get started:

Now it’s time to do the actual implementation. Here is a simple example how to upload a file to Egnyte in your iOS app. You want to integrate more cloud storage services? Have a look on the comments in the code.

Egnyte Objective-C SDK:

Egnyte Swift SDK:

Recent Posts