Re: [NSConnection release] anxiety
Re: [NSConnection release] anxiety
- Subject: Re: [NSConnection release] anxiety
- From: James Bucanek <email@hidden>
- Date: Thu, 5 May 2005 11:50:11 -0700
Andy Lee wrote on Wednesday, May 4, 2005:
>This sounds like a candidate for one of the -performSelector... methods
>in NSObject, with a delay of 0. Delayed performs are good for cases
>when you:
That's an excellent suggestion. I was playing around with creating a one-shot timer to accomplish the same thing, but this is *much* simpler.
I was looking for a way to doing exactly this (just send a message to an object from the event loop at some future time) awhile ago, and gave up. But I was looking at the APIs for NSApplication, NSRunLoop, and those classes. I had no idea this capability was just a category attached to NSObject. How simple!
Thanks for the tip,
James
--
James Bucanek <mailto:email@hidden>
_______________________________________________
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