[Swift] Rebuild the way swift handles structs from scratch (#6326)
authormustiikhalil <mustii@mmk.one>
Thu, 17 Dec 2020 22:55:32 +0000 (01:55 +0300)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 22:55:32 +0000 (14:55 -0800)
commit4e79d129cb9018fdf6584cc1fef6a8d2db41715e
treec5f2b0024da9c3ccf04886dc0d755d53dbdef652
parent05192553f434d10c5f585aeb6a07a55a6ac702a5
[Swift] Rebuild the way swift handles structs from scratch (#6326)

* Rebuild the way swift handles structs from scratch

* Updates docs, and sample binary

* Replaces InMemory to Mutable

* Migrates docs from inmemory

* use inline for some functions

* Renamed Mutable objects

* Updates documentation
21 files changed:
docs/source/SwiftUsage.md
docs/source/Tutorial.md
samples/monster_generated.swift [new file with mode: 0644]
samples/sample_binary.swift
src/idl_gen_swift.cpp
swift/FlatBuffers.podspec
swift/README.md
swift/Sources/FlatBuffers/ByteBuffer.swift
swift/Sources/FlatBuffers/FlatBufferBuilder.swift
swift/Sources/FlatBuffers/FlatBufferObject.swift
swift/Sources/FlatBuffers/Table.swift
swift/Sources/FlatBuffers/UnionObject.swift [moved from swift/Sources/FlatBuffers/NativeTable.swift with 97% similarity]
tests/FlatBuffers.Benchmarks.swift/Sources/FlatBuffers.Benchmarks.swift/main.swift
tests/FlatBuffers.Test.Swift/SwiftTest.sh
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift
tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift