SwiftGoogleTranslate:Google使用Cloud Translation API的轻量级框架 源码
SwiftGoogleTranslate 在Swift中使用框架。 :snowman_without_snow: :frog_face: :penguin: :spouting_whale: :turtle: 安装 CocoaPods: pod 'SwiftGoogleTranslate' 迦太基: github "maximbilan/SwiftGoogleTranslate" Swift套件管理员: dependencies: [ .package(url: "https://github.com/maximbilan/SwiftGoogleTranslate", from: "0.2.2")) ] 手册: Copy SwiftGoogleTranslate.swift to your project. 初始化 首先,您必须生成API密钥才能在使用Google Cloud服务。 然后使用以下代码: SwiftGoogleTranslate. shared . start ( with : " API_KEY_HERE " ) 使用 该框架支持3种端点:
文件列表
SwiftGoogleTranslate-master.zip
(预估有个21文件)
SwiftGoogleTranslate-master
SwiftGoogleTranslate.podspec
600B
.swift-version
4B
SwiftGoogleTranslate
SwiftGoogleTranslate
SwiftGoogleTranslate.h
569B
Info.plist
726B
SwiftGoogleTranslateDemo.xcodeproj
project.xcworkspace
contents.xcworkspacedata
169B
暂无评论