Skip to content
Create, read, update, delete files on OneDrive for Business using the Office 365 iOS SDK in Swift.
Swift Objective-C Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Office 365 iOS SDK

Sample App written in Swift

This is the accompanying code sample to my step-by-step article on how to use the Office 365 SDK in iOS to create, read, update and delete files. It's very basic code that I slapped together in a very short amount of time to show you how easy it is to use the Office 365 iOS SDK in Swift.

Use however you wish. No attribution necessary.


Here are some images showing the sample app:

Login with your work or school account: login with Microsoft Office 365

See all your files in your OneDrive for Business/SharePoint account: onedrive files

Create and upload a new file to your OneDrive for Business: upload file

Get the file contents, see its properties, and also make changes to the file contents and save it to the user's OneDrive for Business account: save to cloud

Delete a file from OneDrive for Business with the sample app: delete or remove file

You can’t perform that action at this time.