Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
- Subject: Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
- From: Roarke Lynch <email@hidden>
- Date: Sat, 19 Feb 2005 13:59:32 -0500
On Feb 19, 2005, at 10:16 AM, Tim Hewett wrote:
This is how the NSParagraphStyle is created/initialised:
myDefaultStyle = [[NSMutableParagraphStyle alloc] retain];
myDefaultStyle setLineBreakMode:NSLineBreakByTruncatingMiddle]
I don't have a specific answer, but the code above doesn't look right.
I'd replace the first line with:
myDefaultStyle = [NSMutableParagraphStyle defaultParagraphStyle];
Roarke Lynch
-------------------------------
email@hidden
_______________________________________________
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