capturing user reaction times in msecs
capturing user reaction times in msecs
- Subject: capturing user reaction times in msecs
- From: julia Cline <email@hidden>
- Date: Tue, 19 Dec 2006 09:47:45 -0800
Your suggestion should help me out. I'm very new to Cocoa and Objective C. It will take a while for me to get it going. Thanks.
***************
Call the display method of the view yo want to be shown. Do not use setNeedsDisplay, display will do it right after being called (this will halt programm exection in between). Init a NSDate object with the current time. After user response compare the first date with a new one (double elapsed = [[NSDate date] timeIntervalSinceDate:startDate]).
Read the other mails. You have to experiment to figure out the offset you need. Yust use times measured with your app, comparing the measured times with others wont be exact. If you stay inside of your app, comparisions should work.
_______________________________________________
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