Re: Wait some seconds
Re: Wait some seconds
- Subject: Re: Wait some seconds
- From: j o a r <email@hidden>
- Date: Wed, 22 Jun 2005 21:50:49 +0200
On 22 jun 2005, at 21.18, Sanri Parov wrote:
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...
This is what you're looking for:
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSObject.html#//apple_ref/doc/uid/20000050-
performSelector_withObject_afterDelay_>
For usage guidelines (if the docs aren't enough), look in the list
archives and on the web.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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