Equivalent of Redraw(MFC) on Cocoa

  • Hi Everyone,
    What is equivalent of Redraw method of MFC on Cocoa?
    Sourabh

    DISCLAIMER
    ==========
    This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
  • On Mon, Apr 6, 2009 at 10:52 PM, Sourabh Sahu
    <sourabh_sahu...> wrote:
    > Hi Everyone,
    > What is equivalent of Redraw method of MFC on Cocoa?
    > Sourabh

    Usually you can send an NSView or a subclass of NSView
    "setNeedsDisplay:YES" and it will redraw the entire view.
  • On 6 Apr 2009, at 14:07, Dave Geering wrote:

    > On Mon, Apr 6, 2009 at 10:52 PM, Sourabh Sahu
    > <sourabh_sahu...> wrote:
    >> Hi Everyone,
    >> What is equivalent of Redraw method of MFC on Cocoa?
    >> Sourabh
    >
    > Usually you can send an NSView or a subclass of NSView
    > "setNeedsDisplay:YES" and it will redraw the entire view.

    But asking clearly shows you're not ready to just dive into Cocoa yet.
    Please read up on the basics first at: http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CocoaViewsGuide/I
    ntroduction/Introduction.html
previous month april 2009 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Go to today