Re: Cocoa newbie needs direction
Re: Cocoa newbie needs direction
- Subject: Re: Cocoa newbie needs direction
- From: Anthony Magee <email@hidden>
- Date: Sun, 3 Sep 2006 14:09:19 -0500
I accomplished the task with bindings by adding a 'total' method to
my Transaction class that called from the text field's binding using
@sum.total. But now how can I make it update without having to add or
remove from the data set in the nstableview? (It only updates when I
add or remove a new transaction)
Hello list,
I am trying to learn Cocoa from a Java background. Currently
reading Hillegass's "Cocoa Programming" but I need some pointers
that he doesn't specifically mention.
I am writing a simple ledger program that relies on an NSTableView
for display. Via the chapter on binding I am using an
NSArrayController to take care of all the data management. My
dilemma is that I need to keep a single text field updated with
the current balance of an account. Can I do this using bindings
also, or should I use notification? I'm really at a loss of where
to go from here. TIA
Anthony Magee
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:
40gmail.com
This email sent to email@hidden
Anthony Magee
email@hidden
-----------------------------
All your base are belong to us.
_______________________________________________
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