how to import bugsense in Swift

195 views Asked by At

i can find its old implementation that is

#import <BugSense-iOS/BugSenseController.h>

and

[BugSenseController sharedControllerWithBugSenseAPIKey:@"123456" userDictionary:nil sendImmediately:YES]

and i am working in the Swfit Language

Import doesn't support dash (-)

can anyone update me how to import it in Swift, i also checked it on their bugsense documentation but couldn't find any updates

1

There are 1 answers

0
Ch0c0late On

Create an ObjC bridging header help you to import it. First add the framework to your app directory and Xcode will ask you to create the bridging header.

https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html