Thursday, 15 May 2014

ios - Convert code from Objective C to Swift for FactualSDK -


This is my first question on stack overflow, I am fast using SDK in my app. I have successfully made a spell checker for the outline, but could not understand how to change the code of this line in authKey and to set up the ID fast in advance thanks!

  FactualApi * _apiObject = [[FactualApi Alok] initWithAPIKey: @ "yourkey" secret: @ "yourscent"];  

Try it out:

  let's _apiObject = FactualAPI  

I tested it and it worked fine.


No comments:

Post a Comment