Re: performSelector with reference
Re: performSelector with reference
- Subject: Re: performSelector with reference
- From: John Stiles <email@hidden>
- Date: Thu, 17 Aug 2006 13:52:28 -0700
I've used NSData for this purpose as well.
I don't know much about NSInvocations but I'd look into that as well.
On Aug 17, 2006, at 1:51 PM, Spencer Salazar wrote:
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:
40blizzard.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