Fwd: Wait some seconds
Fwd: Wait some seconds
- Subject: Fwd: Wait some seconds
- From: Eric Brunstad <email@hidden>
- Date: Wed, 22 Jun 2005 15:43:23 -0400
Begin forwarded message: Date: June 22, 2005 3:42:27 PM EDT Subject: Re: Wait some seconds
On Jun 22, 2005, at 3:18 PM, Sanri Parov wrote:
On Wed, 22 Jun 2005 14:09:11 -0500, Charilaos Skiadas wrote:
I would try to use NSTimer. But that might require rewriting some stuff, since you need to provide a call-back and stuff. What is it that you are trying to accomplish though?
These are the steps for my goal:
1) The user edits a NSTextView in the app 2) an NSTextDidChangeNotification is rised to a selector 3) The selector waits for 3 seconds of inactivity before saving the text to an output file.
What have I to do? It seems NSTimer is really complicated and confusing...
No it's not. The timer simply calls a method you specify at the time interval you specify.
-Eric
Eric Brunstad Mind Sprockets Software www.mindsprockets.com
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden