-
Getting started Protocol Buffers in Swift
In this post, trial the Protocol Buffer on Swift. Introduction If you want to use Protocol Buffer in Swift, try the swift-protobuf. Usage and references are here: https://github.com/apple/swift-protobuf https://github.com/apple/swift-protobuf/blob/main/Documentation/API.md https://github.com/apple/swift-protobuf/blob/main/Documentation/PLUGIN.md Easy to use swift-protobuf is a Swift Package, so you can add it with Xcode. As an example BookInfo.proto, write the data definition in a file. A…