• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Controller Issues with keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Controller Issues with keys
      • From: mmalcolm crawford <email@hidden>
References: 
 >Controller Issues with keys (From: John Spicer <email@hidden>)

  • Prev by Date: Re: Controller Issues with keys
  • Next by Date: RE: printer info
  • Previous by thread: Re: Controller Issues with keys
  • Next by thread: Re: Controller Issues with keys
  • Index(es):
    • Date
    • Thread