• 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: Need help with setNeedsDisplay - Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with setNeedsDisplay - Update


  • Subject: Re: Need help with setNeedsDisplay - Update
  • From: Andy Lee <email@hidden>
  • Date: Sat, 10 Mar 2007 14:10:01 -0500

On Mar 10, 2007, at 1:52 PM, Yevgeniy Goldberg wrote:
I've just realized that drawRec is not even being called after I change the variables and call
[self setNeedsDisplay:YES]
Any ideas as to why the drawRec is not being called?

Is that a typo, or is your method really called drawRec? It should be drawRect:, with a "t" and a colon, and should take an NSRect argument. See the documentation for the method.


--Andy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Need help with setNeedsDisplay - Update
      • From: Yevgeniy Goldberg <email@hidden>
References: 
 >Need help with setNeedsDisplay (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Need help with setNeedsDisplay - Update (From: Yevgeniy Goldberg <email@hidden>)

  • Prev by Date: Re: Need help with setNeedsDisplay - Update
  • Next by Date: Re: Need help with setNeedsDisplay - Update
  • Previous by thread: Re: Need help with setNeedsDisplay - Update
  • Next by thread: Re: Need help with setNeedsDisplay - Update
  • Index(es):
    • Date
    • Thread