Core Data: How to find the NSPersistentStore of a managed object

2009-09-13 Thread Peter Ferrett
Hi, I have a model that comprises two stores. 1. A read only store of a large data-set (this is read only as it is a public dataset shared among users) and 2. A read-write store that is the result of creation by user actions. One of my managed objects can belong to either store. Du

Errors & Warnings Smart Group Missing from XCode 3.2

2009-08-31 Thread Peter Ferrett
I have installed XCode 3.2 from the Snow Leopard Disc and find that the Errors & Warnings smart group is missing. I cannot find any way to view a list of warnings during compile. Wondering if anyone else has experienced this & found a fix. __

Re: NSPersistentDocument and initWithType:Error (solved)

2009-03-07 Thread Peter Ferrett
After stripping the code down, It seems to be working now. The original errant code remains a mystery. On 7 Mar 2009, at 15:14, Peter Ferrett wrote: The NSDocument reference manual states: 'If you need to perform initializations that must be done when creating new document

NSPersistentDocument and initWithType:Error

2009-03-07 Thread Peter Ferrett
The NSDocument reference manual states: 'If you need to perform initializations that must be done when creating new documents but should not be done when opening existing documents, override initWithType:error:.' In my NSPersistentDocument subclass, I have overridden the initWithType:e

Re: NSTreeController, NSOutlineView and Core Data (again)

2009-03-02 Thread Peter Ferrett
method, it updates fine (albeit no longer with my required alterations). Peter On 2 Mar 2009, at 23:02, Quincey Morris wrote: On Mar 2, 2009, at 11:41, Peter Ferrett wrote: I have Core Data objects bound to an NSOutlineView via a NSTreeController. It is a schema that is common to other

NSTreeController, NSOutlineView and Core Data (again)

2009-03-02 Thread Peter Ferrett
I have Core Data objects bound to an NSOutlineView via a NSTreeController. It is a schema that is common to other threads on this group: one entity for the group, one entity for the leaf, and a with the "children" relationship containing the groups/leafs of the next level. The control