• 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: PDFView focus ring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFView focus ring


  • Subject: Re: PDFView focus ring
  • From: Sean McBride <email@hidden>
  • Date: Thu, 02 Feb 2012 11:34:31 -0500
  • Organization: Rogue Research Inc.

On Thu, 2 Feb 2012 09:05:14 +1100, Graham Cox said:

>Some views don't actually implement a focus ring, leaving it to you.
>This is often the case if the view is typically used for content within
>a scrollview. Bear in mind also that the focus ring is drawn outside the
>frame of the view, so there has to be a) space available to draw it, and
>b) code there to do that drawing outside the view. These are things you
>might want to check. If necessary, you may have to subclass the view and
>add the focus ring yourself.

In 10.7, there is new API to make focus ring drawing easier.  See:

<http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html>

I've been experimenting with it, and it works great, though I have seen it frequently appear as an offender when profiling with Instruments.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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: PDFView focus ring
      • From: Martin Hewitson <email@hidden>
References: 
 >Re: PDFView focus ring (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Multiple Selection in NSComboBoxCell
  • Next by Date: Re: How to deactivate an app
  • Previous by thread: Re: PDFView focus ring
  • Next by thread: Re: PDFView focus ring
  • Index(es):
    • Date
    • Thread