Thanks for pointing out the error, I would not have invented it in time. If this helps, I will add an additional bridge of objc constants to Swift and using the bridge constants from swift:
// Constants.h extern NSString *const kDropBoxAPIKey; // Constants.m NSString *const kDropBoxAPIKey = DROPBOX_API_KEY; // xxx-Bridging-Header.h #import "Constants.h"
Then use the bridge in Swift
// xx.swift ... // let auth = DropboxAuth(appKey: DROPBOX_API_KEY) let auth = DropboxAuth(appKey: kDropBoxAPIKey) ...
source share