• 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
NSSlider preventing events firing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSlider preventing events firing


  • Subject: NSSlider preventing events firing
  • From: Alan leigh <email@hidden>
  • Date: Thu, 10 Oct 2002 23:57:41 +1000

Hello all,

Ok I can kind-of-sort-of-a-little-bit get Cocoa to do what I want now, but in a recent app I have a problem... I have an openGL view which is being forced to refresh ever two seconds or so by an NSTimer, which also increments a count which enables animation. I have an NSSlider which rotates the GL view (as in oh so many example apps). The two independently work quite nicely, but the problem is that if someone clicks and holds down an NSSlider the timer seems to stop firing (i.e rotation is lovely and smooth, but animation stops. When the slider is released, animation seems to 'catch up'. I suspected this might be a 'need to multithread' issue, but I can't figure out what exactly I should thread :) Any suggestions would be lovely.

On another note... Has anyone ever had this problem in Project Builder (2.02) :

I change something... go to make and run... and get:


...updating 11 target(s)...
PBXCp.CopyToDirectory /Users/alan/Development Stuff/Trent's Redrawer/build/Trent's Redrawer.app/Contents/Resources/Trent's Redrawer.app

/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks "/Users/alan/Development Stuff/Trent's Redrawer/build/Trent's Redrawer.app" "/Users/alan/Development Stuff/Trent's Redrawer/build/Trent's Redrawer.app/Contents/Resources"

...failed PBXCp.CopyToDirectory /Users/alan/Development Stuff/Trent's Redrawer/build/Trent's Redrawer.app/Contents/Resources/Trent's Redrawer.app ...

if I click build and run straight away again it works no worries.... I've tried... cleaning all targets... trashing the entire build folder... but still no luck. Has anyone seen this before?

Anyway thanks all, and all you gurus keep up those great answers :) I like to think I'm learning quite a bit from just browsing my in box in each day :)

Al
_______________________________________________
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: NSSlider preventing events firing
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: Re: NSTableView Drag & Drop... Well, Maybe
  • Next by Date: RE: New to Cocoa
  • Previous by thread: Re: New to Cocoa
  • Next by thread: Re: NSSlider preventing events firing
  • Index(es):
    • Date
    • Thread