Re: NSTextView redraw while resigning first responder
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