Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
- Subject: Re: [ANN] FDWeakReferencingObject and FDObjectiveMethod
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 3 Jul 2001 12:17:26 -0700
On Tuesday, July 3, 2001, at 11:36 AM, Rob Rix wrote:
As a consumer of such classes, I would certainly like to see
announcements
on this list. Preface the subject line with [ANN] to attract attention.
In that case...
I've got two utility classes out.
[snippage]
FDObjectiveMethod is a slightly less simple class for treating a method
as an object. You initialize it with a complete invocation (any
incomplete invocations will not currently result in errors, because I
haven't got to that point yet), and then you can execute it. You can
also stopExecution, and as it happens, the invocation is run in another
thread. This makes for some rather easy multithreading, except for some
difficulties with two-way communication (it's better for just running a
slave job in a new thread, currently, but I'm working on that).
I don't get it. What does this offer that NSInvocation doesn't?
-jcr
begin
(If this message looks like it has an attachment, your mail reader is
brain-dead.)