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

Generated Cocoa classes have useless @dynamic declarations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2, 0.3, 0.4
    • 0.5
    • Cocoa - Compiler
    • None
    • Patch Available

    Description

      Generated Cocoa classes declare all their properties as @dynamic inside the class implementation. This is completely useless as the getters/setters are defined in the same file. @dynamic is only meant to tell the compiler that the getters/setters will exist at runtime and does nothing if they're provided at compile-time.

      Attachments

        1. cocoa-compiler.patch
          2 kB
          Kevin Ballard

        Activity

          People

            kballard Kevin Ballard
            kballard Kevin Ballard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: