Xcode4: Different code generated for custom core data managed objects

后端 未结 6 1912
无人共我
无人共我 2020-12-13 07:50

Now that Xcode4 is publicly available I\'m moving this question out of Apple\'s secret dev forum:

Can someone explain why the code generated in the following procedu

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 08:28

    Short answer: Don't use Xcode's code generation. Use mogenerator and enjoy an easier life.

    As for the why, it is hard to say. I have never been a fan of the way that Xcode generates the Core Data subclasses and would not recommend them. We could guess as to why they did the things they have done but based on other issues with Xcode4 and Core Data I would chalk it up to "not ready" or "not fully tested".

    File a radar if you would like to continue to use Xcode code generator.

提交回复
热议问题