• 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 Updates from Drawer Buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView Updates from Drawer Buttons


  • Subject: Re: NSView Updates from Drawer Buttons
  • From: Scott Harper <email@hidden>
  • Date: Tue, 21 Mar 2006 16:57:53 -0700

	From: 	  email@hidden
	Subject: 	Re: NSView Updates from Drawer Buttons
	Date: 	March 21, 2006 4:50:19 PM MST
	To: 	  email@hidden

Nuts... Well, I hope I'm not the only person to whom this happens. You work on a problem for an hour or so, can't get it, so you say "Maybe it's an OS problem", and send a mail to the list. Then, about three minutes later you're working on it -- meandering through the code, really -- and you get the answer and problem all at once in a single epiphany. So sorry about the (now) stupid question.

FWIW, I needed to by-hand erase my temp drawing buffer before telling the view to redisplay. That's what I get for dropping a project a few months before picking it back up again. >.<;;

--Scott

On Mar 21, 2006, at 4:34 PM, Scott Harper wrote:


Hello,

I have a NSView subclass that I use for drawing, and I use a NSDrawer to hold buttons for various drawing tools, etc... The problem I'm running into is that it seems like when I get the display subclass object from the controller and tell it "setNeedsDisplay:YES", is doesn't seem like it's doing a complete redraw...

I guess my question is this: what are the odds it's a problem I can overcome that's an anticipatable aspect of Cocoa, and that it's not some problem within my code? Hopefully that's not too cryptic.

Any comment would be appreciated.
--Scott



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSView Updates from Drawer Buttons (From: Scott Harper <email@hidden>)

  • Prev by Date: NSView Updates from Drawer Buttons
  • Next by Date: Re: shadow problem
  • Previous by thread: NSView Updates from Drawer Buttons
  • Next by thread: NSPopupButtonCell in table view - size problem
  • Index(es):
    • Date
    • Thread