google protobuf ios开发使用

参考链接:google protobuf ios开发使用http://www.cnblogs.com/cocoajin/p/6100841.html

$ brew install protobuf

$ protoc --version
libprotoc 3.2.0


protoc --proto_path=./ --objc_out=./ ./Person.proto
// Person.proto
syntax = "proto3";

message Person {
  string name = 1;
  int32 age = 2;
  string address = 3;

}

你可能感兴趣的:(google protobuf ios开发使用)