Re: Syncronizing class files and Core Data entities
On 8/19/09 6:52 AM, Michael Thon said: >> I use mogenerator with great success. Which version are you using? >> Try >> getting the newest from version control. >> >I used version 1.5. I just found the svn repo and tried the latest >version. Works fine now. Great. (However, I don't believe he uses svn anymore. I think the newest version is with git now.) -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Syncronizing class files and Core Data entities
On Aug 18, 2009, at 11:06 PM, Sean McBride wrote: On 8/18/09 7:30 PM, Michael Thon said: In XCode, class files for core data entities can be generated by selecting the data model, then selecting New File from the File menu and selecting Managed Object Class from the window. If you edit the class files and then edit the data model, there seems to be no way to sync the changes in the data model to the edited class files. I found mogenerator: http://rentzsch.com/code/mogenerator But it does not seem to work on my .xcdatamodel file. How do others keep their classes in sync with their data model? I use mogenerator with great success. Which version are you using? Try getting the newest from version control. I used version 1.5. I just found the svn repo and tried the latest version. Works fine now. cheers Mike ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Syncronizing class files and Core Data entities
On 8/18/09 7:30 PM, Michael Thon said: >In XCode, class files for core data entities can be generated by >selecting the data model, then selecting New File from the File menu >and selecting Managed Object Class from the window. If you edit the >class files and then edit the data model, there seems to be no way to >sync the changes in the data model to the edited class files. I found >mogenerator: > http://rentzsch.com/code/mogenerator >But it does not seem to work on my .xcdatamodel file. How do others >keep their classes in sync with their data model? I use mogenerator with great success. Which version are you using? Try getting the newest from version control. -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Syncronizing class files and Core Data entities
I generally just regenerate the class files. -S On Tue, Aug 18, 2009 at 1:30 PM, Michael Thon wrote: > In XCode, class files for core data entities can be generated by selecting > the data model, then selecting New File from the File menu and selecting > Managed Object Class from the window. If you edit the class files and then > edit the data model, there seems to be no way to sync the changes in the > data model to the edited class files. I found mogenerator: >http://rentzsch.com/code/mogenerator > But it does not seem to work on my .xcdatamodel file. How do others keep > their classes in sync with their data model? > > -Mike > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/skline1967%40gmail.com > > This email sent to skline1...@gmail.com > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Syncronizing class files and Core Data entities
In XCode, class files for core data entities can be generated by selecting the data model, then selecting New File from the File menu and selecting Managed Object Class from the window. If you edit the class files and then edit the data model, there seems to be no way to sync the changes in the data model to the edited class files. I found mogenerator: http://rentzsch.com/code/mogenerator But it does not seem to work on my .xcdatamodel file. How do others keep their classes in sync with their data model? -Mike ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com