• 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
Dealing with Very Slow NSViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dealing with Very Slow NSViews


  • Subject: Dealing with Very Slow NSViews
  • From: John Nairn <email@hidden>
  • Date: Fri, 06 Sep 2002 16:11:45 -0600

My Cocoa application is great for interactive graphics when plotting scientific results. Recently I did some large calculations. While I can still plot them, the task is too demanding for things like live scrolling, live window resizing, and continuous controls (for example, one view had to create, draw, and fill about 200,000 bezier curves). I am tying to think of ways to improve speed, but also I should implement things to improve the interface when it must be slow. I had trouble with my first ideas in Cocoa. Does any one know how to solve such problems as:

1. I would like to turn off live window resizing. I can then drag to new size and wait once for redisplay.

2. Similarly, I would like to turn of live scrolling. I can then drag thumb to new location and let go for one redisplay.

3. Finally, I have a slider that selects from a set of results (each of which is a large calculation). Currently the slider is continuous. It is easy to make it not continuous, but I need it half and half. I need it continuous to give text feedback on which result is about to be selected, but when it is done I need one last message to actually draw that plot.


------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.mse.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Dealing with Very Slow NSViews
      • From: Cameron Hayne <email@hidden>
    • Re: Dealing with Very Slow NSViews
      • From: Cameron Hayne <email@hidden>
    • Re: Dealing with Very Slow NSViews
      • From: Greg Hulands <email@hidden>
    • Re: Dealing with Very Slow NSViews
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Generating Decent GIF With Transparency from NSBitmapImageRep
  • Next by Date: Re: Get parent process (Carbon question)
  • Previous by thread: Generating Decent GIF With Transparency from NSBitmapImageRep
  • Next by thread: Re: Dealing with Very Slow NSViews
  • Index(es):
    • Date
    • Thread