• 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: Interface Builder Date Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface Builder Date Localization


  • Subject: Re: Interface Builder Date Localization
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 18 Apr 2006 22:28:11 +0200

MMalc,

On 18.4.2006, at 22:11, mmalcolm crawford wrote:

awakeFromNib won't work because the behaviour is already set by then ...

Not that it is such a hurdle--can be solved e.g. by replacing the formatter object at the same address by a new one, or by another trickery :)


... initWithCoder: might, but that gets even more ugly :)

That's agreed, but the point is in that this way the ugliness can be cleanly separated from the "normal" application code (probably into a framework/separate bundle), and can be easily trashed as soon as IB begins to support 10.4+ formatters directly--which is bound to happen in Leopard, perhaps even sooner :) Heck, with some more hackery I suppose it could even be done automagically: as soon as the formatter gets loaded from NIB with 10.4+ behaviour, the hack may notice and suicide.


OTOH the "normal" way I fear the work-around has to be at least somewhat interspersed in all the projects which should use 10.4+ formatters, which would make maintenance just a little bitch :) But I might be wrong of course, and there can be much cleaner way :)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Re: Interface Builder Date Localization (From: Eric Long <email@hidden>)
 >Re: Interface Builder Date Localization (From: mmalcolm crawford <email@hidden>)
 >Re: Interface Builder Date Localization (From: Ondra Cada <email@hidden>)
 >Re: Interface Builder Date Localization (From: Nick Zitzmann <email@hidden>)
 >Re: Interface Builder Date Localization (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Cocoa Books
  • Next by Date: Re: CFUserNotificationDisplayAlert return value error?
  • Previous by thread: Re: Interface Builder Date Localization
  • Next by thread: Re: Interface Builder Date Localization
  • Index(es):
    • Date
    • Thread