Re: performSelector with reference
Re: performSelector with reference
- Subject: Re: performSelector with reference
- From: Nat! <email@hidden>
- Date: Fri, 18 Aug 2006 01:16:34 +0200
Am 17.08.2006 um 22:16 schrieb David Alter:
I have a selector that I want to execute. One of the parameters is
a **NSError. It doe not like the pointer to the pointer. It wants
an object. I could just cast if but I wanted to see if there was a
cleaner way of doing this.
I'm using "- (id)performSelector:(SEL)aSelector withObject:(id)
object1 withObject:(id)object2;"
My **NSError is in the second parameter.
how about:
objc_msgSend( target, sel, parameter, &error); // [target sel
parameter error]
or
objc_msgSend_rtp( target, sel, parameter, &error);
Ciao
Nat!
------------------------------------------------------
See I reckon you're about an eight or a nine,
Maybe even nine and a half
in four beers time. -- The Streets
_______________________________________________
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