• Thomas Van Lenten's avatar
    Add ObjC helpers for Any WKT. · 337ec306
    Thomas Van Lenten authored
    - Capture the ObjC prefix used when generating the the file.
    - Track the containing type on descriptors.
    - Mark descriptors where the message class name got a suffix added to it.
    - Expose a fullName property on Descriptors.
    - Add helpers for packing/unpacking Any messages.
    - Bump the ObjC runtime version number. Since we added methods and invoke them
      in the generated code, ensure the code is running against a matching version.
      Otherwise, someone could compile against headers, but run with a framework
      that is older and get unknown selector failures.  This should trip clearer
      messaging.
    
    Fixes https://github.com/google/protobuf/issues/1674
    337ec306
GPBDescriptor.h 9.86 KB