How to integrate OneDrive Api to IOS App in swift? I am done registering my app and have client Id
<p>import UIKit
import OneDriveSDK</p>

<p>class ViewController: UIViewController {</p>

<pre><code>var authenticatedOdClient : ODClient?
var authenticatedDrive : ODDrive?
var authenticatedItem : ODItem?
var itemId : ODItem?

@IBAction func goToOneDrive(sender: AnyObject) {

    ODClient.clientWithCompletion { (client, error) -&gt; Void in
        if ((error == nil)){
            self.authenticatedOdClient = client
         self.getUserDriveData()

        }
    }

}

override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.


    ODClient.setMicrosoftAccountAppId("0000000040186848", scopes: ["onedrive.readwrite"])

}


func getUserDriveData(){
    self.authenticatedOdClient?.drive().request().getWithCompletion({ (ODdrive, error) -&gt; Void in

        if(error == nil){
            self.authenticatedDrive = ODdrive
            print(self.authenticatedDrive?.owner)
            print(self.authenticatedDrive?.driveType)
            print(self.authenticatedDrive?.quota)
            print(self.authenticatedDrive?.id)
           print( self.authenticatedDrive?.driveType)
            //self.authenticatedOdClient?.drive().items().request().

        }
        else{
            print("error is", error)
        }

        self.getUserRootFolder()
    })
}

func getUserRootFolder(){

    self.authenticatedOdClient?.drive().request().getWithCompletion({ (drive, error) -&gt; Void in


    })

    self.authenticatedOdClient?.drive().items("root").request().getWithCompletion({ (root, error) -&gt; Void in



    })
    self.authenticatedOdClient?.root().itemByPath("Documents").request().getWithCompletion({ (item, error) -&gt; Void in

        print(item.id)


    })
</code></pre>

<p>self.authenticatedOdClient?.drive().items("root/Documents/Akshat's Notebook").request().getWithCompletion({ (ODItem, error) -> Void in</p>

<pre><code>}


override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()

}
</code></pre>

<p>}</p>