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

Generate Xcode Core Data model file

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Cocoa - Compiler
    • Labels:
      None

      Description

      As an Apple developer, I'd like to be able to store objects defined in my Thrift spec using the Core Data object relational database system.

      To do this, it is best to generate the XML document that defines the Core Data model. Developers may then use tools like Xcode or mogenerator to generate the actual classes in source code.

      Gameplan:

      Copy XML generator
      Register new t_xcdatamodel_generator
      Output non-nested structs conforming to Core Data model XML DSL
      Collections of basic types
      Nested structs
      Collections of struct types
      Unwind typedefs to resolve basic types to map to core data types
      Replace enum types with Integer 32 type
      Optional means optional
      Versionable Core Data models
      Add option in cocoa/swift generators to subclass NSManagedObject and declare managed attributes as @dynamic/@NSManaged

        Attachments

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              amcknight2718 Andrew McKnight
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: