FlatBuffersSwiftCodeGen
November 9, 2018 ยท View on GitHub
FlatBuffersSwiftCodeGen is a code generator for FlatBuffersSwift (https://github.com/mzaks/FlatBuffersSwift)
Arguments description:
- First argument is the path to
.fbsfile - Second argument is the path to
.swiftfile you want to generate - Third argument is optional, it can be
downloadwhich will avoidimport FlatBuffersSwiftstatement in generated file and download FlatBuffersSwift infrastructure files. Or you can tell the generator to just avoidimport FlatBuffersSwiftstatement by writingnoImportas third argument
Example usage:
fbsCG contacts.fbs contacts.swift