Re: Intelligent date squishing
Re: Intelligent date squishing
- Subject: Re: Intelligent date squishing
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 5 Aug 2005 23:51:57 +0100
On 5 Aug 2005, at 19:51, Zach Wily wrote:
On Aug 5, 2005, at 12:41 PM, August Trometer wrote:
Most likely, the dates you're talking about are attributed strings
using a paragraph style with NSLineBreakByTruncatingTail.
In Xcode 2.x, you can set a specific data cell for a column and
set the Line Break Mode there. I believe this only works with 10.4.
I think he's talking about how the date format actually changes. It
goes through the following formats based on decreasing width:
August 2, 2005, 8:31 AM
Aug 2, 2005, 8:31 AM
8/2/05, 8:31 AM
8/2/05
It's pretty cool, and more complex than simply truncating. Mail
does it as well.
I take it this behaviour isn't "for free"? I probably have to do the
width detection myself, right?
_______________________________________________
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