• 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: NSTextView redraw while resigning first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView redraw while resigning first responder


  • Subject: Re: NSTextView redraw while resigning first responder
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 7 Aug 2010 22:21:01 -0700

On Sat, Aug 7, 2010 at 10:15 PM, vincent habchi <email@hidden> wrote:
> By the way, can anybody explain me why the call [window fieldEditor: forObject:] returns a NSText *, while the documentation explicitly states it returns a NSTextView * (so I had to cast it to get access to the -layoutManager method)?

According to one old-timer, it's an artifact from when NSText used to
be the only public class in the text system, probably left over for
source compatibility.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: NSTextView redraw while resigning first responder
      • From: vincent habchi <email@hidden>
References: 
 >NSTextView redraw while resigning first responder (From: vincent habchi <email@hidden>)
 >Re: NSTextView redraw while resigning first responder (From: Kyle Sluder <email@hidden>)
 >Re: NSTextView redraw while resigning first responder (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: NSTextView redraw while resigning first responder
  • Next by Date: Re: NSTextView redraw while resigning first responder
  • Previous by thread: Re: NSTextView redraw while resigning first responder
  • Next by thread: Re: NSTextView redraw while resigning first responder
  • Index(es):
    • Date
    • Thread