• 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
NSTextField with an date formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField with an date formatting


  • Subject: NSTextField with an date formatting
  • From: minapre999 <email@hidden>
  • Date: Sat, 31 Jan 2009 18:04:48 +0000


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?


Kind Regards
_______________________________________________

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


  • Prev by Date: Re: Flowing text between text fields
  • Next by Date: Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent
  • Previous by thread: Re: Rating-style LevelIndicator not showing dots
  • Next by thread: Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent
  • Index(es):
    • Date
    • Thread