• 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: "M. N. Jackson" <email@hidden>
  • Date: Sun, 4 Mar 2007 08:27:18 -0600

Rachel,

Could you a simple version of the code you used to accomplish this. I am interested in this also. Thanks.

On Mar 4, 2007, at 2:01 AM, Rachel Blackman wrote:


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:
40valera1909.com


This email sent to email@hidden



_______________________________________________

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


References: 
 >Removing formatting goo from NSRulerView subclass... (From: Rachel Blackman <email@hidden>)
 >Re: Removing formatting goo from NSRulerView subclass... (From: Rachel Blackman <email@hidden>)

  • Prev by Date: NSArray instance variable and core data objects
  • Next by Date: QuartzCore.h not being recognized
  • Previous by thread: Re: Removing formatting goo from NSRulerView subclass...
  • Next by thread: Notifications
  • Index(es):
    • Date
    • Thread