Thank you, Kyle. Actually, since -
saveToURL:ofType:forSaveOperation:error:
has a setFileURL built into it, I don't need setFileURL:
So, this works for creating an NSPersistentDocument programatically
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSDocumentCon
On Sat, Dec 27, 2008 at 4:13 PM, Jerry Krinock wrote:
>> BmxBk* bmxBk = [documentController openUntitledDocumentAndDisplay:NO
>>error:&error] ;
>> [bmxBk setFileURL:[NSURL fileURLWithPath:docPath]] ;
>> [bmxBk saveDocument:self] ;
I seem
Well, the problem is not in my 200 lines of inserting objects, setting
attributes and relationships into the document, because I removed and
simply ran this:
BmxBk* bmxBk = [documentController openUntitledDocumentAndDisplay:NO
err
I was hoping someone could give me a clue about what might be causing
this repeatable crash I get when saving a (Core Data)
NSPersistentDocument:
#0 objc_msgSend
#1 -[NSDocumentController(NSInternal) _fixedFailureReasonFromError:]
#2 -[NSDocument _willPresentSavingError:forOperation:url:]
#3