Re: Looking for timer like functionality without NSTimer
Re: Looking for timer like functionality without NSTimer
- Subject: Re: Looking for timer like functionality without NSTimer
- From: j o a r <email@hidden>
- Date: Wed, 11 May 2005 23:32:01 +0200
On 11 maj 2005, at 23.03, Mike Zornek wrote:
So, I tried to create a NSTimer to poll the data store (a core data
context
in my app) for a flag that notes when the queue is done processing.
This
doesn't seem to work too well since I don't think the UnitKit test
run in a
runloop suitable for NSTimers. My early experimentation shows my
selector
never getting called.
Two comments on that:
1) If you use a non-standard default loop for your test suite, it
might not only affect your timers, but also the things you're trying
to test...
2) You can register your timer to fire in any run loop mode. Check
the docks.
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