• 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: Trouble finding bounding rect of NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble finding bounding rect of NSAttributedString


  • Subject: Re: Trouble finding bounding rect of NSAttributedString
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 20 Nov 2009 09:52:28 -0800

On Nov 19, 2009, at 9:20 PM, Dave DeLong wrote:

> However, in both of these methods, the attributedString of the textview is nil, thus giving me the strange results I'm seeing.

How are you getting the attributedString out of the textview? (I'm guessing by calling -textStorage.) If so, that should never return nil — make sure the NSTextView* itself isn't nil :)

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trouble finding bounding rect of NSAttributedString (From: Dave DeLong <email@hidden>)
 >Re: Trouble finding bounding rect of NSAttributedString (From: Jens Alfke <email@hidden>)
 >Re: Trouble finding bounding rect of NSAttributedString (From: Dave DeLong <email@hidden>)
 >Re: Trouble finding bounding rect of NSAttributedString (From: Jens Alfke <email@hidden>)
 >Re: Trouble finding bounding rect of NSAttributedString (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: asl_log aborts the program?
  • Next by Date: Re: extracting the mantissa for a NSDecimal
  • Previous by thread: Re: Trouble finding bounding rect of NSAttributedString
  • Next by thread: Authorization plugin samples
  • Index(es):
    • Date
    • Thread