• 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: Using NSRulerView with a non-text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSRulerView with a non-text view


  • Subject: Re: Using NSRulerView with a non-text view
  • From: Graham Cox <email@hidden>
  • Date: Tue, 17 Feb 2009 10:25:33 +1100


On 17 Feb 2009, at 4:18 am, Joel Reymont wrote:

Has anyone used NSRulerView with graphic or other non-text views?


Sure - it works fine. It certainly doesn't appear to care or have any knowledge of the kind of view it encloses, and there's no reason why it should. You tell it everything it needs to know when you register the settings - how far apart the marks are and how many submarks that is divided into and so forth. It asks its delegate for everything else.

--Graham


_______________________________________________

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: Using NSRulerView with a non-text view
      • From: Joel Reymont <email@hidden>
References: 
 >Using NSRulerView with a non-text view (From: Joel Reymont <email@hidden>)

  • Prev by Date: QTMovie brief pause
  • Next by Date: Re: Using NSRulerView with a non-text view
  • Previous by thread: Re: Using NSRulerView with a non-text view
  • Next by thread: Re: Using NSRulerView with a non-text view
  • Index(es):
    • Date
    • Thread