Re: NSTextField with an date formatting
Re: NSTextField with an date formatting
- Subject: Re: NSTextField with an date formatting
- From: Matt Neuburg <email@hidden>
- Date: Sun, 01 Feb 2009 09:20:49 -0800
- Thread-topic: NSTextField with an date formatting
On Sat, 31 Jan 2009 18:04:48 +0000, minapre999 <email@hidden>
said:
>
>I have an NSTextField that is bound to a date in a Core Data program.
>The text field has an NSDateFormatter attached to it. All connections
>are set up using IB. The odd thing is that the user needs to enter
>the date into the text field twice for the text field to correctly
>update to the new date. Using key value observing, the text field
>object correctly updates it's data on the first enter. The text field
>simply does not display the new value. Calling setNeedsDisplay or any
>other similar method does not do anything. Interestingly, when I
>modify the program to add a second text field (ie now have two text
>fields, both with date formatters and bound to the same date in Core
>Data), when the user changes the date in text field 1, it will result
>in text field 2 but not text field 1 correctly updating to the new
>date, and vice versa. I suspect this may be a bug, has anyone else
>experience anything similar and what is the process of reporting to
>Apple if it is a bug?
Can you reduce the problem to a little tiny project and show it? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden