Re: [MacRuby-devel] NSDocument problems

2013-02-14 Thread stephen horne
I figured out my problem. I had put an object representing the document into the nib where the document was also set as the file's owner, making each document call init twice. A hard-learned lesson. At least I won't forget it. On 14/02/2013, at 01:39, stephen horne wrote: > I'm making a docu

[MacRuby-devel] NSDocument problems

2013-02-13 Thread stephen horne
I'm making a document-based application, backed by core data, but I'm having serious issues opening the documents again. I'm trying to use readFromFileWrapper(wrapper, ofType:type, error:err) in an NSDocument subclass. Through my logging, it seems that this method is doing what it should, but t