+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Create some initial code in iOS

A simple startup process for iOS is described here with short samples for both Objective C and Swift. Before trying the sample, make sure you have imported the frameworks and added the necessary imports.


Accessing a server resource

In the ViewController.m file, after the ViewController loads (in the viewdidLoad method of the ViewController), we can create a resource request without first creating a client.


Testing the server connection without a server resource

If you have not created any server resources and we want to test the server connection, we can test the token access. If you have not created any security checks, the access token should be available. As in the previous example, in the ViewController.m file, after the ViewController loads, we can request token access without any scope.

For more information about logging, see Logger SDK.

For more information about adapters, see Client access to adapters.

Parent topic: Develop native applications for iOS in Xcode