Re: PDFView drawPage called often after selecting text
Re: PDFView drawPage called often after selecting text
- Subject: Re: PDFView drawPage called often after selecting text
- From: Andy Lee <email@hidden>
- Date: Mon, 07 Jan 2013 12:16:31 -0800
On Jan 7, 2013, at 12:07 PM, Andy Lee <email@hidden> wrote:
> It does seem weird that drawPage: is getting called when you aren't even interacting with the PDFView.
Come to think of it, this is *really* weird since your drawPage: checks whether the PDFView is first responder -- which it can't be if you're in the middle of typing in the text view. Could it be that something is causing the PDFView to become first responder for an instant? I'm extra curious now to know what happens if you put NSLogs in becomeFirstResponder and resignFirstResponder.
--Andy (also at risk of having a conversation with myself -- wouldn't be the first time :))
_______________________________________________
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