flatbuffers/swift
mustiikhalil a20f606c29
[Swift] Renaming protocols (#6469)
* Renaming protocols

* Updates Generated code

* format code
2021-02-16 14:55:47 +03:00
..
Sources/FlatBuffers [Swift] Renaming protocols (#6469) 2021-02-16 14:55:47 +03:00
FlatBuffers.podspec [Swift] Rebuild the way swift handles structs from scratch (#6326) 2020-12-17 14:55:32 -08:00
LICENSE Adds cocoapods and a readme of how to get the package (#5771) 2020-02-21 11:42:07 -08:00
Package.swift [Swift] Adds a format file and reformats the swift project (#6250) 2020-11-16 19:52:38 +03:00
README.md [Swift] Rebuild the way swift handles structs from scratch (#6326) 2020-12-17 14:55:32 -08:00

README.md

FlatBuffers swift can be found in both SPM

.package(url: "https://github.com/mustiikhalil/flatbuffers.git", from: "X.Y.Z"),

and Cocoapods

pod 'FlatBuffers'

Notes

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 and select the latest push to master

Contribute

1- Always run swift test --generate-linuxmain whenever new test functions are added or removed