• 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: Problem adding subview to NSScroller subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem adding subview to NSScroller subclass


  • Subject: Re: Problem adding subview to NSScroller subclass
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 07 Jul 2012 13:23:25 -0700

On Jul 7, 2012, at 1:38 AM, Gideon King <email@hidden> wrote:

>
> I overrode the drawSelf: method and got it to draw the frame of the accessory view, to make sure it was positioned correctly, and it drew in the right place.

Wait, you told another view to draw from within a separate view's -drawRect:? That's not going to work; the coordinate systems aren't set up right.

--Kyle Sluder
_______________________________________________

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: Problem adding subview to NSScroller subclass
      • From: Andy Lee <email@hidden>
References: 
 >Problem adding subview to NSScroller subclass (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Problem adding subview to NSScroller subclass
  • Next by Date: changing string in a view based NSTableView
  • Previous by thread: Re: Problem adding subview to NSScroller subclass
  • Next by thread: Re: Problem adding subview to NSScroller subclass
  • Index(es):
    • Date
    • Thread