Git Product home page Git Product logo

protobuf-objc's Introduction

Protocol Buffers for Objective-C

An implementation of Protocol Buffers in Objective C.

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.

This fork contains only ARC version of library.

How To Install Protobuf

1.ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

2.brew install automake

3.brew install libtool

4.brew instal protobuf

5.ln -s /usr/local/Cellar/protobuf/2.5.0/bin/protoc /usr/local/bin (optional)

6.git clone [email protected]:alexeyxo/protobuf-objc.git

7../build.sh

8.Add /src/runtime/ProtocolBuffers.xcodeproj in your project.

##Installing from CocoaPods

...

8.cd <your .xcodeproj directory>

9.echo -e "platform :ios , 6.0 \nlink_with '<YourAppTarget>', '<YourAppTarget_Test>' \npod 'ProtocolBuffers', '1.9.1' " > Podfile

10.pod install

Compile ".proto" files.

protoc --plugin=/usr/local/bin/protoc-gen-objc person.proto --objc_out="./"

Example

Web

Server-side requires Ruby(2.0+) and Sinatra gem.

To start ruby sinatra.rb in /Example/Web

if you need to recompile ruby proto models please install ruby_protobuf gem and make 'rprotoc person.proto'

iOS Example

/Example/iOS/Proto.xcodeproj

Project contains protobuf example and small json comparison.

Credits

Maintainer

  • Alexey Khokhlov

Booyah Inc.

  • Jon Parise

Google Protocol Buffers, Objective C

  • Cyrus Najmabadi
  • Sergey Martynov

Google Protocol Buffers

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

protobuf-objc's People

Contributors

alexeyxo avatar chapados avatar dicej avatar evanj avatar gregschlom avatar jhhsia avatar jparise avatar macdrevx avatar michaelpetrov avatar mwoytowich avatar serheo avatar stigger avatar wader avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.