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

NSView / NSControl / NSCell drawing question


  • Subject: NSView / NSControl / NSCell drawing question
  • From: aaron smith <email@hidden>
  • Date: Thu, 17 Sep 2009 23:04:37 -0700

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

  • Follow-Ups:
    • Re: NSView / NSControl / NSCell drawing question
      • From: aaron smith <email@hidden>
  • Prev by Date: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])
  • Next by Date: Running Safari from application
  • Previous by thread: Re: Making a new "ICNS file" with NSImage
  • Next by thread: Re: NSView / NSControl / NSCell drawing question
  • Index(es):
    • Date
    • Thread