• 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: Sherm Pendley <email@hidden>
  • Date: Thu, 17 Aug 2006 16:22:32 -0400

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.

You could use NSInvocation.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________ 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
References: 
 >performSelector with reference (From: David Alter <email@hidden>)

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