Hello, guys! I've been studying the Cocoa Core Data and I have a question about it. I went through a blog tutorial I got at the Internet and I build my first Cocoa Application. So I decided to do something by my own: a financial controller.
To make it simple, I used Account and Transaction objects with an one-to-many relationship. Their properties are: *Account* - name *Transaction* - date - description - value - amount *Amount* is an calculated field and it depends on the previous transactions. I don't know how to do it! It is not a value I can save on database, for example, because it changes all the time (I guess I have to mark the transient field at Core Data). The view would seem something like this: Date Value Amount 01/01/2008 +450.00 +450.00 01/02/2008 +100.00 +550.00 01/02/2008 -50.00 +500.00 If I add a transaction between the first and the second after some days, it would show this (changing all the amount values, except from the ones before): Date Value Amount 01/01/2008 +450.00 +450.00 01/02/2008 +200.00 +650.00 01/02/2008 +100.00 +750.00 01/02/2008 -50.00 +700.00 Can anyone please help me? I'm not used to this kind of programming like I wrote an entire blog without any code line. I guss I have to write some code now, but I don't know how, when and if I'm not abusing on you, which one. Thank you! Thiago. *- I'm a Java programmer who wants to migrate to ObjC/Cocoa.* _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]