booyah/protobuf-objc — pull request #23 by gregschlom (2012-02-29 00:48:59+00:00)
Title: Add insertion points for plugins

This pull request adds two insertion points for plugins:

`imports`: #import directives
`global_scope`: Declarations that belong at the top level. Appears at the very end of the file.

Each insertion point appears in both the .pb.m file and the .pb.h.

I could have added other insertion points inside classes, but I do not need that feature for the moment, so I'd rather avoid coding something blindly.

As a comparison, here are the [insertion points generated by the C++ protobuf compiler][1].

[1]: http://code.google.com/apis/protocolbuffers/docs/reference/cpp-generated.html#plugins