• 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
how to redraw a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to redraw a view


  • Subject: how to redraw a view
  • From: Artemiy Pavlov <email@hidden>
  • Date: Wed, 24 Nov 2010 19:50:01 +0200

Hi all!

I have a view whose drawRect method draws a plot according to a few parameters which are global variables. When I change these variables according to the user input, I want to update that plot, so I need the drawRect method of my view to be called. I tried [self setNeedsDisplay] or [MyView setNeedsDisplay] but this doesn't work.

So my question is, what is the correct way to ask my view to be redrawn?


Thanks and best wishes,

Artemiy.
_______________________________________________

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: how to redraw a view
      • From: Uli Kusterer <email@hidden>
    • Re: how to redraw a view
      • From: Chris Hanson <email@hidden>
    • Re: how to redraw a view
      • From: Andy Lee <email@hidden>
  • Prev by Date: Problem with plugin architecture development and subclass into bundles
  • Next by Date: Re: how to redraw a view
  • Previous by thread: Problem with plugin architecture development and subclass into bundles
  • Next by thread: Re: how to redraw a view
  • Index(es):
    • Date
    • Thread