Document & Objects
Document & Objects
- Subject: Document & Objects
- From: Richard Patterson <email@hidden>
- Date: Wed, 19 Jan 2005 17:21:40 -0800
I have a document based application which has three tables of data
displayed in tabbed views inside a larger window. I am able to make it
save and load the data and it seems to work (except that the sorting in
the tables has stopped functioning). I have used bindings for the
tables and some buttons to add or delete rows.
I attempted to add a calculator at the top of the window based on an
object which is the object being archived. I want to be able to enter
values in one place and have it use all the data from the tables to
calculate values displayed in the other portion of the calculator. I
gave up trying to use bindings for this and just had a button to
trigger the calculation one set of values from the other.
When I compiled and debugged the calculator, I found that the data I
had loaded from the file was no longer contained in the object when the
calculation was triggered. I think something is causing a new instance
of my object to be initialized between the time I load the data and try
to do the calculation. The data is still displayed in my tables, so I
guess I have created and initialized an object that is not displaying
its data at all. How would I have done this?
I realize this is an impossible question to answer, but any hints or
suggestions or referrals to good reading about the relationship between
documents and objects in Interface Builder would be greatly
appreciated.
Richard Patterson
Illusion Arts
6700 Valjean Avenue
Van Nuys, CA 91406
818 901-1077
FAX: 818 901-1995
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden