From a36a9045ad597aa26c279a61f4f47733ff6fc3de Mon Sep 17 00:00:00 2001 From: Ace Levenberg Date: Fri, 6 Nov 2015 14:43:28 -0800 Subject: [PATCH] updating documention and version bump --- OneDriveSDK.podspec | 2 +- OneDriveSDK/Common/ODAuthConstants.m | 2 +- README.md | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/OneDriveSDK.podspec b/OneDriveSDK.podspec index b8e84c3..bd6b939 100644 --- a/OneDriveSDK.podspec +++ b/OneDriveSDK.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = "OneDriveSDK" - s.version = "1.0.5" + s.version = "1.1.0" s.summary = "OneDrive iOS SDK" s.description = <<-DESC diff --git a/OneDriveSDK/Common/ODAuthConstants.m b/OneDriveSDK/Common/ODAuthConstants.m index 0e75826..2dbb28f 100644 --- a/OneDriveSDK/Common/ODAuthConstants.m +++ b/OneDriveSDK/Common/ODAuthConstants.m @@ -22,7 +22,7 @@ #import #import "ODAuthConstants.h" -NSString * const OD_SDK_VERSION = @"1.0.5"; +NSString * const OD_SDK_VERSION = @"1.1.0"; NSString * const OD_AUTH_ERROR_DOMAIN = @"com.microsoft.onedrivesdk.autherror"; NSString * const OD_AUTH_ERROR_KEY = @"ODAuthErrorKey"; diff --git a/README.md b/README.md index 26fda71..7239bd3 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,9 @@ Register your application by following [these](https://dev.onedrive.com/app-regi * You can set your application Id and scopes directly on the ODClient object. -* Call the class method `[ODClient setMicrosoftAccountAppId: scopes:]` with a specified and . For more info about scopes, see [Authentication scopes](https://dev.onedrive.com/auth/msa_oauth.htm#authentication-scopes). +* For applications targeting OneDrive call the class method `[ODClient setMicrosoftAccountAppId: scopes:]` with a specified `` and ``. For more info about scopes, see [Authentication scopes](https://dev.onedrive.com/auth/msa_oauth.htm#authentication-scopes). + +* For applications targeting OneDrive for Business call the class method `[ODClient setActiveDirectoryAppId: redirectURL:]` with specified `` and ``. Note: the redirect URL must match the redirect URL that you specified in the [Azure Management Portal](https://manage.windowsazure.com/). ### 2.3 Getting an authenticated ODClient object @@ -94,7 +96,7 @@ Register your application by following [these](https://dev.onedrive.com/app-regi * Get an authenticated ODClient via the clientWithCompletion method: ```objc -ODClient *odClient = [ODClient clientWithCompletion:^(ODClient *client, NSError *error){ +[ODClient clientWithCompletion:^(ODClient *client, NSError *error){ if (!error){ self.odClient = client; }