1. 02 1月, 2021 1 次提交
  2. 18 12月, 2020 1 次提交
  3. 17 11月, 2020 1 次提交
  4. 17 9月, 2020 1 次提交
  5. 27 7月, 2020 1 次提交
    • L
      [Swift] RFC: Switch Swift namespace from public enum to ordinary concat with _ (#6045) · 5d052f4e
      Liu Liu 提交于
      This PR attempts to switch namespace from public enum back to ordinary
      concat with _ in Swift. This kept style similar with protobuf, but
      different from other popular style guide in Swift.
      
      This is needed because previously, when we do `public enum`, we don't
      really know when to declare and when to extend (extension). With namespace
      implementation in this PR, there is no such ambiguity.
      5d052f4e
  6. 05 6月, 2020 1 次提交
  7. 08 5月, 2020 1 次提交
    • M
      [swift] Moves code to use VTablesStorage (#5888) · 870ecbc0
      mustiikhalil 提交于
      * Moves the code to use _vtablestorage
      
      Rebuilt the test to confirm to the new API
      
      Adds documentation + generates code for grpc
      
      Reverts indentation
      
      v0.4.0
      
      Updated swift/readme.md
      
      Updates VtableStorage to ensure space instead of reallocating each time
      
      Fixes str count not being correct
      
      * Fixes issue with boolean constant not being set + removes unused function
      870ecbc0
  8. 14 4月, 2020 1 次提交
  9. 03 4月, 2020 1 次提交
  10. 25 2月, 2020 1 次提交
    • M
      [Swift] Adds GRPC to Swift (#5758) · 34305c4c
      mustiikhalil 提交于
      * Adds the basic structure for required to add grpc support
      
      Added the message implementation
      
      Updated the code to confirm to the protocol flatbuffersobject
      
      Adds an example for Swift flatbuffers GRPC
      
      Started implementing the swift GRPC code Gen
      
      Generator generates protocols now
      
      Fixing ci issues
      
      Migrated the logic to use grpc_generator::File instead of string
      
      Refactored swift project
      
      Implemented GRPC in swift
      
      Finished implementing GRPC in swift
      
      Fixes issues
      
      Adds contiguousBytes initializer to swift
      
      Adds documentation + fixes buffer nameing in tables + structs
      
      Adds documentation + fixes buffer nameing in tables + structs
      
      Updated tests
      
      * Updated version
      34305c4c
  11. 14 1月, 2020 1 次提交
  12. 10 1月, 2020 1 次提交
    • M
      [Swift] Swift implementation 🎉🎉 (#5603) · 04d80f25
      mustiikhalil 提交于
      * Implemented the swift version of Flatbuffers
      
      Implemented serailzing, reading, and mutating data from object monster
      
      Fixes mis-aligned pointer issue
      
      Fixes issue when shared strings are removed from table
      
      Adds swift enum, structs code gen
      
      Fixed namespace issues + started implementing the table gen
      
      Added Mutate function to the code generator
      
      Generated linux test cases
      
      Fixed an issue with bools, and structs readers in table writer
      
      Swift docker image added
      
      Updated the test cases, and removed a method parameters in swift
      
      Fixed createVector api when called with scalars
      
      Fixed issues with scalar arrays, and fixed the code gen namespaces, added sample_binary.swift
      
      Cleaned up project
      
      Added enum vectors, and their readers
      
      Refactored code
      
      Added swift into the support document
      
      Added documentation in docs, and fixed a small issue with Data() not being returned correctly
      
      Fixes Lowercase issue, and prevents generating lookups for deprecated keys
      
      * Made all the required funcs to have const + removed unneeded code + fix lowercase func
      
      * Removed transform from lowercased and moved it to function
      
      * Fixes an issue with iOS allocation from read
      
      * Refactored cpp code to be more readable
      
      * casts position into int for position
      
      * Fix enums issue, moves scalar writer code to use memcpy
      
      * Removed c_str from struct function
      
      * Fixed script to generate new objects when ran on travis ci: fix
      
      * Handles deallocating space allocated for structs
      
      * Updated the test cases to adhere to the fileprivate lookup, no mutation for unions, and updated the names of the vector functions
      04d80f25