• 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: NSLayoutManager subclassing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager subclassing


  • Subject: Re: NSLayoutManager subclassing
  • From: John Stiles <email@hidden>
  • Date: Thu, 19 Jan 2006 10:39:45 -0800

On Jan 19, 2006, at 10:35 AM, Rachel Blackman wrote:

This is really a view-level modification rather than a layout- level modification. You are not changing the positioning of glyphs with respect to each other, or the manner in which glyphs are drawn. Instead, you are changing the origin of the container relative to the view (in one implementation) or the origin of the view with respect to its superview (in another).

Yeah, unfortunately, this was what I was afraid of. The ability of NSLayoutManager and NSTextContainer to draw in circular areas, etc., was what led me down the path of 'is it possible.' Alas. :)


I may try the flipping of coordinates; if that works, it would be a much quicker method. I suspect, however, that it will have some unforeseen consequence I'm not expecting. (Well, I suppose it goes without saying that if I were expecting it, it wouldn't be unforeseen.)

Could you use an editable web view to do this?
Mail.app uses the web view editor so it's pretty debugged and full- featured (which is not to say that I haven't filed bugs on glitches in Mail.app text editing :) )




_______________________________________________
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: NSLayoutManager subclassing
      • From: "I. Savant" <email@hidden>
References: 
 >NSLayoutManager subclassing (From: Rachel Blackman <email@hidden>)
 >Re: NSLayoutManager subclassing (From: Douglas Davidson <email@hidden>)
 >Re: NSLayoutManager subclassing (From: Rachel Blackman <email@hidden>)

  • Prev by Date: Re: NSLayoutManager subclassing
  • Next by Date: Re: Translucent black window
  • Previous by thread: Re: NSLayoutManager subclassing
  • Next by thread: Re: NSLayoutManager subclassing
  • Index(es):
    • Date
    • Thread