views:

607

answers:

4

Has anyone used Google's Protocol Buffers when developing applications in Objective-C?

Are there any current projects for compiling .proto files into Objective-C, all the Google docs simply refer to Java, C++ or Python.

+1  A: 

The Third Party page lists this Objective-C port. Unfortunately the project appears to be empty at the moment, but it's encouraging to see it anyway. I had heard internal rumours of the project, but hadn't seen it as an open source project before today.

You could get in touch with the project owner (Cyrus Najmabadi) to ask about it though...

(Small piece of trivia - Cyrus used to work on the C# team in Microsoft before he joined Google.)

Jon Skeet
+1 for the extra trivia
rjstelling
+1  A: 

This metasyntactic project seems to be a good starting point.

Edit: Cyrus Najmabadi also runs this project.

rjstelling
And interestingly, that seems to be Cyrus as well - my guess is that he's planning to move the code from that project into protobuf-objc when it's more stable.
Jon Skeet
A: 
jhs
+1  A: 

I've been working on an fork of Cyrus' project. It's based on protobuf 2.3 and works as a protoc plugin (protoc-gen-objc) instead of requiring a modified protobuf distribution.

You can find it as the protobuf-obj project on GitHub.

Jon Parise

related questions