For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usage

Initialise the SDK

The SDK requires to initialise only once when your application starts, we recommend doing this step in AppDelegate

Objective-C

Add the following in your AppDelegate.m:

#import <UqudoSDK/UqudoSDK.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
   [[UQBuilderController alloc] init];  
	return YES;
}

Swift

Add the Bridging Header to your project. When adding your .m file, you’ll receive a prompt with Yes, No and Cancel buttons. Hit Yes.

If you don’t see the prompt, or accidentally deleted your bridging header, add a new .h file to your project and name it <#YourProjectName#>-Bridging-Header.h.

Add the following import to your Bridging-Header.h:

In the AppDelegate.swift, initialize the SDK:

Implement Interface

Extend UQBuilderControllerDeleate in your controller where you initiate the SDK.

Objective-C

Import Uqudo SDK header and conform to UQBuilderControllerDeleate:

Implement the delegate methods:

Swift

Conform to UQBuilderControllerDeleate:

Implement the delegate methods:

Last updated

Was this helpful?