简体   繁体   English

从Objective-C转换为Swift(TestFlight)

[英]Translate from Objective-C to Swift (TestFlight)

Does anybody know how to translate from Objective-C to Swift from this line from TestFlight? 有人知道如何从TestFlight的这一行中将Objective-C转换为Swift吗? I am trying to figure out how to translate it. 我试图弄清楚如何翻译它。 Any suggestion appreciated. 任何建议表示赞赏。

//Objective-C
[TestFlight setOptions:@{ @"TFOptionDisableInAppUpdates" : @YES }];

//Swift
TestFlight.setOptions.........

without xcode / trying it 没有xcode /尝试

swift would be: 迅速将是:
TestFlight.setOptions( ["TFOptionDisableInAppUpdates": true] )

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM