• 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: How Can I Notify DrawRect Method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Can I Notify DrawRect Method?


  • Subject: Re: How Can I Notify DrawRect Method?
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 9 Dec 2008 09:21:38 -0700


On Dec 9, 2008, at 9:17 AM, Chunk 1978 wrote:

that works... but now i want that rect to redraw itself when notified
to do so, but i can't figure out how to notify the NSRect to draw
again... all my NSUserDefaults colorAsData is in place, as well as my
NSNotifications.  it will print to NSLog so i know that notification
is being called, but how do direct that notification to the drawRect
method?


-setNeedsDisplay: or -setNeedsDisplayInRect:.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: 
 >How Can I Notify DrawRect Method? (From: "Chunk 1978" <email@hidden>)

  • Prev by Date: Text Not Anti-Aliased In NSView
  • Next by Date: Re: Text Not Anti-Aliased In NSView
  • Previous by thread: How Can I Notify DrawRect Method?
  • Next by thread: Re: How Can I Notify DrawRect Method?
  • Index(es):
    • Date
    • Thread