• 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
drawing into a hidden view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drawing into a hidden view


  • Subject: drawing into a hidden view
  • From: Shane <email@hidden>
  • Date: Sat, 15 May 2010 13:50:49 -0500

Hi,

I have an application which swaps NSViews based on which segment of an
NSSegmentedControl the user clicks on. There's one specific NSView in
which I draw a graph using NSBezierPath's. This view is initialized
once my application is started and always exists, it's just not always
the currently selected view.

My problem is that, when this one specific NSView is not selected and
the user runs a process, once the process completes the user selects
the view and no updates are drawn into it. But if the NSView is
currently selected, the view gets updates when data points are sent to
it. Selected or not, I always send data points to it to be drawn.

I have nothing in my code that says "if the view is not shown, don't
draw into it". Anyone have ideas on what's happening?
_______________________________________________

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: drawing into a hidden view
      • From: Seth Willits <email@hidden>
    • Re: drawing into a hidden view
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Forcing ordered-out-window to adjust position
  • Next by Date: Re: drawing into a hidden view
  • Previous by thread: Re: Sorting the NSSet of a NSManagedObject's attribute
  • Next by thread: Re: drawing into a hidden view
  • Index(es):
    • Date
    • Thread