From a1730fcea80621032613a802a5822c492253bbed Mon Sep 17 00:00:00 2001 From: mustiikhalil Date: Tue, 11 May 2021 00:13:41 +0300 Subject: [PATCH] [Swift] Updated cocoapods to 2.0.0 (#6634) --- swift/FlatBuffers.podspec | 2 +- swift/README.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/swift/FlatBuffers.podspec b/swift/FlatBuffers.podspec index 5fdcb375d..01195292f 100644 --- a/swift/FlatBuffers.podspec +++ b/swift/FlatBuffers.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FlatBuffers' - s.version = '1.0.0' + s.version = '2.0.0' s.summary = 'FlatBuffers: Memory Efficient Serialization Library' s.description = "FlatBuffers is a cross platform serialization library architected for diff --git a/swift/README.md b/swift/README.md index 1b90ab67e..6984fa8a4 100644 --- a/swift/README.md +++ b/swift/README.md @@ -10,8 +10,6 @@ and Cocoapods 1- To report any error please use the main repository. -2- `1.0.0` deprecates `MyGame_Example_Vec3.createVec3(builder: &fbb, x: 10, test2: .blue)` for `MyGame_Example_Vec3(x: 10, test2: .blue)`. This uses Swift native structs instead of workarounds that which leads to a huge performance increase when serializing structs. You can download the [binary here](https://github.com/google/flatbuffers/actions) and select the latest push to master - ### Contribute 1- Always run `swift test --generate-linuxmain` whenever new test functions are added or removed \ No newline at end of file