Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

liveservices/LiveSDK-for-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annoucement: There's a new OneDrive SDK

The Live SDK has been replaced by the OneDrive API and OneDrive SDK for iOS. All new projects should use the OneDrive API to integrate with OneDrive instead of Live SDK.

This Live SDK project will remain available for existing applications to continue to use but new application development should be done using the OneDrive SDK.

Live SDK for iOS (legacy)

version 5.6

  1. Introduction

For integrating OneDrive into your iOS app use the OneDrive iOS SDK.

The repository here includes:

  • Live SDK Library source (src/LiveSDK/Library)
  • Live SDK framework (bin/LiveSDK.framework.zip)
  • Samples (src/samples)

For questions on how to use the sdk visit http://stackoverflow.com/questions/tagged/onedrive

  1. Reference the API

You can reference the iOS API in two ways.

###2.1 Install with Cocoapods

  • Install cocoapods following the getting started guide.
  • Add the following to your Podfile: pod 'LiveSDK'
  • Run the command pod install to install the latest LiveSDK pod.

###2.2 To reference the iOS API source code directly

  • Open your iOS project in Xcode.
  • Click File > Add Files to "Your Project Name".
  • Go to and select the src/LiveSDK/Library folder under your local copy of the repository and then click "Add".
  • In your code file that you want to reference the API source code, add this import statement: #import "LiveConnectClient.h".

#####Notes: If you reference the iOS API source code directly and you use Xcode 4.2 or later, you must disable Automatic Reference Counting (ARC). This is because the Live SDK for iOS library source code uses manual reference counting. If you want to use ARC, you can either reference the iOS API framework by following the steps in the previous section(see 2.1), or do an ARC conversion on the library source code.

  1. Documentation

Visit: http://dev.onedrive.com and click the "Develop” link.

License Agreement

Copyright 2015 Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.