Re: Document based app problems
Re: Document based app problems
- Subject: Re: Document based app problems
- From: Shawn Erickson <email@hidden>
- Date: Sat, 3 Jan 2004 12:57:12 -0800
On Jan 3, 2004, at 12:47 PM, April Gendill wrote:
I tried foolishly to create a document based application. 2 things
happen
When I save the document, close the application and then double click
the document certain things become inaccessable. The Document is based
on 1 dictionary and one array. It's the dictionary that I cannot
access at all. If I log the dictionary, it is all there. However, I
cannot access ANYTHING FROM ANYWHERE including from within the
document class. I have tried making accessors but no matter what they
return nil. I can access the dictionary outside the document class but
I cannot extract anything from it.
second Absolutely nothing I do allows me to access ANY NSTextfield. I
cannot retrieve data from them or set their values
finally, if I doulbe click a document the app opens or it opens the
doc, if I close the document and double click the icon, of if I double
click the icon with no other windows open in the app, it crashes,
sigbus 10
Very hard for us to help without a better description of what you are
doing in your code, showing code is the best way.
Basically how are you saving the data into your document and how are
you getting it back out of your document.
How is the NSTextField issue related to your document or is it?
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.