thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McKnight (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4227) Generate Xcode Core Data model file
Date Sat, 10 Jun 2017 05:31:18 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew McKnight updated THRIFT-4227:
------------------------------------
    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
(/) Output non-nested structs conforming to Core Data model XML DSL
(x) Collections of basic types
(x) Nested structs
(x) Collections of struct types
(x) Unwind typedefs to resolve basic types to map to core data types
(x) Replace enum types with Integer 32 type
(x) Optional means optional
(x) Versionable Core Data models
(x) Add option in cocoa/swift generators to subclass {{NSManagedObject}} and declare managed
attributes as {{@dynamic}}/{{@NSManaged}}

  was:
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
(/) Output non-nested structs conforming to Core Data model XML DSL
(x) Collections of basic types
(x) Nested structs
(x) Collections of struct types
(x) Unwind typedefs to resolve basic types to map to core data types
(x) Replace enum types with Integer 32 type
(x) Optional means optional
(x) Versionable Core Data models
(x) Add option in cocoa/swift generators to subclass NSManagedObject and declare managed attributes
as {{@dynamic}}/{{@NSManaged}}


> Generate Xcode Core Data model file
> -----------------------------------
>
>                 Key: THRIFT-4227
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4227
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Cocoa - Compiler
>            Reporter: Andrew McKnight
>            Priority: Minor
>
> 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
> (/) Output non-nested structs conforming to Core Data model XML DSL
> (x) Collections of basic types
> (x) Nested structs
> (x) Collections of struct types
> (x) Unwind typedefs to resolve basic types to map to core data types
> (x) Replace enum types with Integer 32 type
> (x) Optional means optional
> (x) Versionable Core Data models
> (x) Add option in cocoa/swift generators to subclass {{NSManagedObject}} and declare
managed attributes as {{@dynamic}}/{{@NSManaged}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message