• Home
Name
Date
Size
#Lines
LOC

..--

Sources/FlatBuffers/12-May-2024-1,699926

FlatBuffers.podspecD12-May-2024895 2217

LICENSED12-May-202411.1 KiB203169

Package.swiftD12-May-2024950 3617

README.mdD12-May-2024730 179

README.md

1FlatBuffers swift can be found in both SPM
2
3`.package(url: "https://github.com/mustiikhalil/flatbuffers.git", from: "X.Y.Z"),`
4
5and Cocoapods
6
7`pod 'FlatBuffers'`
8
9### Notes
10
111- To report any error please use the main repository.
12
132- `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
14
15### Contribute
16
171- Always run `swift test --generate-linuxmain` whenever new test functions are added or removed