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
- Host: GitHub
- URL: https://github.com/john-b-yang/snaplink_ios
- Owner: john-b-yang
- Created: 2018-03-03T01:31:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T06:30:34.000Z (about 8 years ago)
- Last Synced: 2025-07-02T08:10:40.378Z (12 months ago)
- Topics: grpc, ios, objective-c, protobuf3, python3, swift
- Language: Swift
- Size: 4.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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