• 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: Removing formatting goo from NSRulerView subclass...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing formatting goo from NSRulerView subclass...


  • Subject: Re: Removing formatting goo from NSRulerView subclass...
  • From: Rachel Blackman <email@hidden>
  • Date: Sun, 4 Mar 2007 00:01:54 -0800


On Mar 3, 2007, at 7:43 PM, Rachel Blackman wrote:

So, I have an NSRulerView I need to attach to an NSScrollView containing an NSTextView subclass. So far, all is good.

However, no matter what I do or override, I cannot seem to get rid of the little formatting portion of the ruler.

Solved it myself. After a bit more head-scratching, I realized NSLayoutManager was probably responsible for the little bugger's constant return. A bit of subclassing later, and tada, back in business.


How come it's only after you throw in the towel and ask for help somewhere that you realize what you were overlooking? :)

--
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Removing formatting goo from NSRulerView subclass...
      • From: "M. N. Jackson" <email@hidden>
References: 
 >Removing formatting goo from NSRulerView subclass... (From: Rachel Blackman <email@hidden>)

  • Prev by Date: Re: NSUserDefaults won't do as it's told
  • Next by Date: NSUserDefaults dictionary raises exception instead of returning nil
  • Previous by thread: Removing formatting goo from NSRulerView subclass...
  • Next by thread: Re: Removing formatting goo from NSRulerView subclass...
  • Index(es):
    • Date
    • Thread