Skip to content

itianzhu/protobuf-ios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

protobuf-ios

Introduction

This is a protobuf iOS library.

Supported Platform

  • iOS 4.0 and above

Features

  • Support write to / parse from delimited stream (protobuf 2.3 feature).

How to use

Get the compiler

Run following command to compile and install the project.

$ cd compiler
$ ./autogen.sh
$ ./configure
$ make
$ make install (optional)

The compiler is genrated at src/protoc.

Note:

You need autoconf to compile from source code. If your system is not install autoconf, you can install it by brew:

$ brew install autoconf

If you system already install autoconf but linked, you can link it, here is an example:

$ brew install autoconf
Warning: autoconf-2.69 already installed, it's just not linked    
$ brew link autoconf
Linking /usr/local/Cellar/autoconf/2.69... 28 symlinks created

Usage

./src/protoc --objc_out=. foo.proto

Xcode integration

Drap protoc-ios.xcodeproj to your Xcode project.

That's all.

Credits

References

About

Google proto buffer for iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published