ios - Convert code from Objective C to Swift for FactualSDK -
this first question on stack overflow, integrating factual sdk in app using swift. created bridgeheader framework not figure out how convert line of code in order set authkey , id in swift. in advance!!
factualapi* _apiobject = [[factualapi alloc] initwithapikey:@"yourkey" secret:@"yoursecret"];
try this:
let _apiobject = factualapi(apikey:"yourkey" secret:"yoursecret")
i tested , working fine.
Comments
Post a Comment