阅读背景:

建立将NSURL.scheme转换为SecProtocolType的方法?

来源:互联网 

I my Mac Swift application, I need to use a C API that requires a SecProtocolType value. I have a valid NSURL, with a scheme string, for example "http" or "ftp". I can do string searching with the raw values in SecProtocolType, but that looks like an invitation for "unexpected behavior" :) Is there a better or standard way? TY!I my Mac Swift application, I need to use a C A




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: