From 7f7f920458de1acd6eefa6cfba7b9c0837344b07 Mon Sep 17 00:00:00 2001 From: Tom Carpel Date: Fri, 28 Aug 2015 13:33:31 -0700 Subject: [PATCH] Improve the authentication readme documentation --- doc/Authentication.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Authentication.md b/doc/Authentication.md index 966fe45c0..b6ae24a7b 100644 --- a/doc/Authentication.md +++ b/doc/Authentication.md @@ -17,13 +17,13 @@ BOXContentClient *contentClient = [BOXContentClient defaultClient]; Alternatively, if you prefer to present View Controllers on your own: ```objectivec BOXContentClient *contentClient = [BOXContentClient defaultClient]; -BoxAuthorizationViewController *boxAuthViewController = [[BoxAuthorizationViewController alloc] - initWithinitWithSDKClient:contentClient - completionBlock:^(BoxAuthorizationViewController *authorizationViewController, BOXUser *user, NSError *error) { +BOXAuthorizationViewController *boxAuthViewController = [[BOXAuthorizationViewController alloc] + initWithSDKClient:contentClient + completionBlock:^(BOXAuthorizationViewController *authorizationViewController, BOXUser *user, NSError *error) { // BOXUser is returned if authentication was successful. // Otherwise, error will contain the reason for failure (e.g. network connection) // You should dismiss authorizationViewController here. -} cancelBlock:^(BoxAuthorizationViewController *authorizationViewController){ +} cancelBlock:^(BOXAuthorizationViewController *authorizationViewController){ // User has canceled the login process. // You should dismiss authorizationViewController here. }];