/O365-iOS-Swift-Files-CRUD-Sample

Create, read, update, delete files on OneDrive for Business using the Office 365 iOS SDK in Swift.

Primary LanguageSwift

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.

Article: http://www.kloh.me/programming/get-files-from-office-365-in-swift

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