• 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: NSView / NSControl / NSCell drawing question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView / NSControl / NSCell drawing question


  • Subject: Re: NSView / NSControl / NSCell drawing question
  • From: aaron smith <email@hidden>
  • Date: Fri, 18 Sep 2009 01:27:23 -0700

nvmind. I got it all figured out. Just by adding the control the a
view, it automatically calls the drawing methods. Thanks.

On Thu, Sep 17, 2009 at 11:04 PM, aaron smith
<email@hidden> wrote:
> Hey All, quick question. I think this is straight forward, but just
> wanted some verification before I move forward too far.
>
> To keep a long story somewhat short - I have a custom view, which I am
> placing a custom control into, and am curious if it's proper to
> specifically be calling the drawRect method of a control from my
> subclassed NSView.
>
> Here are the classes:
>
> http://pastebin.com/m4fb2d114 (a base view)
> http://pastebin.com/m2835d3f6 (subclassed view)
> http://pastebin.com/m6ab006a6 (the control)
> http://pastebin.com/m4ded8d96 (the cell)
>
> Like I said, I'm not very far, but wanted to verify the explicit call
> to the control draw method. Is this the correct way?
>
> Thanks much!
>
_______________________________________________

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

References: 
 >NSView / NSControl / NSCell drawing question (From: aaron smith <email@hidden>)

  • Prev by Date: Running Safari from application
  • Next by Date: Handling mouse events in NSCell's?
  • Previous by thread: NSView / NSControl / NSCell drawing question
  • Next by thread: Running Safari from application
  • Index(es):
    • Date
    • Thread