Monthly Archives: September 2010

Linking the Protocol Buffer Static Library into the Xcode Project

Last time we talked about how to compile proto files into Objective-C files, now let’s actually use them in a project! So create a new Xcode project, or use an existing one that will use these new files. Now add … Continue reading

Posted in Protobuf | 7 Comments

Generating Objective-C Classes from Protocol Buffer

Once you have the Protocol Buffer Compiler (protoc) built, you can use it to compile proto files into headers and implementations in the language of your choice. For example, I have this pair of proto files defined. This is a … Continue reading

Posted in Protobuf | 4 Comments