Re: performSelector with reference
Re: performSelector with reference
- Subject: Re: performSelector with reference
- From: Spencer Salazar <email@hidden>
- Date: Thu, 17 Aug 2006 16:51:12 -0400
Actually, instead, NSValue can be used to portably transmit arbitrary
pointers within an Objective C object.
spencer
On Aug 17, 2006, at 4:42 PM, Spencer Salazar wrote:
maybe try using NSNumber to store the pointer pointer as an
unsigned long? That can be passed as an id and is even semi-
portable (to 64 bit systems, which i believe generally use 64 bit
longs).
spencer
On Aug 17, 2006, at 4:16 PM, David Alter wrote:
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.
thanks for the help
-dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to 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:
40gmail.com
This email sent to 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