An open API service indexing awesome lists of open source software.

https://github.com/john-b-yang/snaplink_ios

SnapLink : Visual Appliance Identification and Control in Smart Buildings
https://github.com/john-b-yang/snaplink_ios

grpc ios objective-c protobuf3 python3 swift

Last synced: about 2 months ago
JSON representation

SnapLink : Visual Appliance Identification and Control in Smart Buildings

Awesome Lists containing this project

README

          

# SnapLink_iOS
SnapLink : Visual Appliance Identification and Control in Smart Buildings

Todo:
- Establish connection between gRPC server and iOS application
- Run dummy function from gRPC on iOS app

In Process:
- Write Swift client code

Completed:
- Run through gRPC online tutorial
- Write .proto file defining server functionality
- Creating server.py with dummy functions
- Import gRPC, Swift Protobuf w/ cocoapods
- Create Swift Client proto file w/ protobuf

Tips:
- Protobuf Compilation: protoc -I=$SRC_DIR --python_out=$DST_DIR $SRC_DIR/test.proto
- For concurrent library, please use python 2.7
- Encode/Decode Images into Base64 Format: https://bit.ly/2pLAd1l
- Nice Gentle Tutorial: https://bit.ly/2DWorqf
- Swift Protocol Buffer: https://github.com/apple/swift-protobuf
- Creating Obj-C and Swift protobuf client code:
- Objective C: protoc -I=$SRC_DIR --objc_out=$DST_DIR test.proto
- Swift: protoc --swift_out=. test.proto