Re: observing a controller for changes
Re: observing a controller for changes
- Subject: Re: observing a controller for changes
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 3 Nov 2004 08:22:10 -0800 (PST)
I went through the examples in the Hillegass book and
at first they looked promissing. But then I see it is
not what I need.
I have a tableView with some simple 'text' columns and
popups. I need to know when something changes even if
the user doesn't press the return or change rows. This
was easy for the popups. I just connected them to an
action. But the 'normal' column is causing me
problems. When the user clicks in a row and types I
cannot seem to get a 'textDidChange' type message.
WIth the Hillegass example I am able to see the change
after the user commits it.
Do you see what I am looking for? I need to know the
moment that the user types anything in the tableView.
I will worry about what the arrayController has later.
Ted
>
>
> From my studies on 'Cocoa programming for Mac OS X'
from Aaron
>Hillegass I recall that there was something similar
near the beginning
>of the book.
>
>Go here and type in page 115.
>http://www.bignerdranch.com/books/index.php
>
>Further on down the page there is the source code for
RaiseMan (with
>table view). I hope this might help.
>
>
>Regards,
>
>Ole.
>
>>I have a tableView with an arraycontroller.
Basically
>>I query a database for stuff, create the
>>NSMutableArray and set the content of the tableView
>>controller to the array. Works great.
>>
>>I am stumped to know how to observe if the user
makes
>>any changes to the table. I was checking
>>http://homepage.mac.com/mmalc... if there was
anything
>>there..
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
_______________________________________________
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