• 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: Problem with NSLineBreakByTruncatingMiddle under 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
      • From: Tim Hewett <email@hidden>
References: 
 >Problem with NSLineBreakByTruncatingMiddle under 10.2 (From: Tim Hewett <email@hidden>)

  • Prev by Date: Re: Finding a view (Cocoa theory)
  • Next by Date: Re: Terminal view
  • Previous by thread: Problem with NSLineBreakByTruncatingMiddle under 10.2
  • Next by thread: Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
  • Index(es):
    • Date
    • Thread