• 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 - Another Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with setNeedsDisplay - Another Update


  • Subject: Re: Need help with setNeedsDisplay - Another Update
  • From: j o a r <email@hidden>
  • Date: Sat, 10 Mar 2007 23:13:26 +0100


On 10 mar 2007, at 23.01, Erik Buck wrote:

Did you create an extra instance of the view in Interface Builder... other than the one in the window ? Several people have inadvertently ended up with two instances of their view and made connections/updates to the wrong one.

The view instance in the window will draw. Any view instance in the instances pane of the Interface Builder document will not draw because it isn't contained in any window.

Just what I was going to suggest. This was the problem last time this topic was discussed on the list!
Verify that the view instance that you call "setNeedsDisplay:" on, and the view that you monitor for updates, are the same object instance! You can do this in the debugger, or using simple log statements.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

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