• 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
NSDateFormatter subclass not created when nib loads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDateFormatter subclass not created when nib loads


  • Subject: NSDateFormatter subclass not created when nib loads
  • From: Jonathan Fewtrell <email@hidden>
  • Date: Sat, 4 Mar 2006 11:39:53 +0000

I can see that someone has had the same problem as me with this, specifically here:

http://www.cocoabuilder.com/archive/message/cocoa/2005/5/14/135885

and here:

http://www.cocoabuilder.com/archive/message/cocoa/2005/5/15/135932

but I can't seem to find an answer.

I have a subclass of NSDateFormatter attached to a table column in a nib. Previously it worked fine. Now it doesn't. "Now" probably (but not definitely) means "since I upgraded from 10.3.9 / XCode 1.5 to 10.4 / XCode 2.2". Logging suggests that - initWithDateFormat:allowNaturalLanguage: is not called when the nib loads. Obviously NSDateFormatter changed substantially in 10.4, but my understanding is that the defaults assume the pre 10.4 mode and so initWithDateFormat:allowNaturalLanguage: should work as before. Thinking that the designated initializer may have changed to -init, I added an -init override to my subclass, but that doesn't seem to get called either. What have I missed?


_______________________________________________ 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
  • Prev by Date: bindings question
  • Next by Date: Re: NSSlider mouseUp ????
  • Previous by thread: Re: bindings question
  • Next by thread: Parsing a packet Async Socket
  • Index(es):
    • Date
    • Thread