Re: Controller Issues with keys
Re: Controller Issues with keys
- Subject: Re: Controller Issues with keys
- From: Scott Stevenson <email@hidden>
- Date: Thu, 11 Nov 2004 12:32:33 -0800
On Nov 11, 2004, at 9:12 AM, John Spicer wrote:
I've got a simple window with two NSTextField's on it. One is for
amount, the other for comments. I have the amount field set to use a
formatter with $. Nothing set for formatting on the comments field.
I have added two keys to the controller, one called amount, the other
comments. I bind them to the text fields.
When I get the values [theController content] and then dump it, the
comment field does not show.
Put an NSLog statement in setComments and make sure it's actually
getting called.
If not, either the binding isn't setup correctly or the editing isn't
being committed. Can't remember offhand, but NSTextField might be one
of those that doesn't commit changes until it loses first responder
status or return is pressed or something.
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
_______________________________________________
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