8000 GitHub - cute/protobuf-objc: Protocol Buffers for Objective C
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cute/protobuf-objc

 
 

Repository files navigation

Protocol Buffers, Objective C iOS5

This is a modified ARC enabled version of the Protocol Buffers in Objective C project. It is optimized for iOS5 and up. This version is updated for Protobuf 2.5.

Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. This project is based on an implementation of Protocol Buffers from Google. See the Google protobuf project for more information.

Usage

I use homebrew to install it, you must install homebrew first and use this commend.

brew tap superbil/protobuf
brew install protobuf-objc

This will install protobuf and protobuf-objc compiler, after that you can use this command to compiler you proto file

protoc --objc_out objc Example.proto

Because you want Objctive-C classes, you use the --objc_out option

This generates the following files in your specified destination directory (objc):

  • Example.pb.h, the header which declares your generated classes.
  • Example.pb.m, which contains the implementation of your classes.

Credits

  • David Bonnefoy
  • Superbil

Regwez Inc.

Booyah Inc.

Google Protocol Buffers, Objective C

Google Protocol Buffers

  • Kenton Varda, Sanjay Ghemawat, Jeff Dean, and others

About

Protocol Buffers for Objective C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 61.6%
  • C++ 36.7%
  • Shell 0.6%
  • M4 0.3%
  • C 0.3%
  • Ruby 0.3%
  • Makefile 0.2%
0