Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1504

Cocoa Generator should use local file imports for base Thrift headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.9
    • Cocoa - Compiler
    • Patch Available

    Description

      The Cocoa generator imports various thrift files as global imports instead of local importss. This ends up requiring that the user alter their header search paths to include the directories the generated thrift code is in, or the user has to edit the generated files to remove this.

      e.g.

      #import <TProtocol.h>
      #import <TApplicationException.h>
      #import <TProtocolUtil.h>
      #import <TProcessor.h>

      vs.

      #import "TProtocol.h"
      #import "TApplicationException.h"
      #import "TProtocolUtil.h"
      #import "TProcessor.h"

      Attachments

        1. THRIFT-1504.patch
          0.8 kB
          Steve White

        Activity

          People

            swhite Steve White
            swhite Steve White
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: