采用X代码4.2,我用表格格式模板制作了新的标识。 出于某种原因,这一模板没有给你列入核心数据的选择,因此,我不得不人工添加这一模板。
然而,当我掌握情况时,我发现这一错误:
Cannot create an NSPersistentStoreCoordinator with a nil model
我如何使这一模式变得不成熟? 我建立了模型.xcdatamodeld,并增加了一个具有属性的实体(Cat)。
Also, I want to have the app begin with 5 cats for example, but the user will be able to create more cats. Where/How do I create the original 5 cats? It doesn t seem logical to create them every time the app starts, but how can you create them in the first place?