• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: performSelector with reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: performSelector with reference
      • From: John Stiles <email@hidden>
References: 
 >performSelector with reference (From: David Alter <email@hidden>)
 >Re: performSelector with reference (From: Spencer Salazar <email@hidden>)

  • Prev by Date: Re: performSelector with reference
  • Next by Date: Re: performSelector with reference
  • Previous by thread: Re: performSelector with reference
  • Next by thread: Re: performSelector with reference
  • Index(es):
    • Date
    • Thread