Since I ask so many questions, I decided to contribute something back to the community! :-) I wrote a Couchbase Model Generator for those that are interested, hosted here: https://github.com/RVijay007/cblmodelgenerator.
Basically, you can layout your data model in a Core Data - Data Model File (*.xcdatamodel) following simple instructions in the README, and run the command line utility on the file to autogenerate all your CBLModels (and CBLNestedModels if you use my fork for couchbase-lite-ios). You can even store versions using the CoreData versioning system, and it will always process whichever model you specify to be the current version in that file. A sample CoreData model file that serves as an example and that can be run with this this utility can be found in my example repo: https://github.com/RVijay007/CBLNestedModelExample. There is a *.xcdatamodel file in CBLNestedModelExample/CBLNestedModelTest. Please ask me if you have any questions about it and enjoy! Cheers, Ragu -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/49e0ecca-eb9d-481c-9f88-1e664a6754ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
