FROM : Sherm Pendley
DATE : Thu Aug 17 22:22:32 2006
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
DATE : Thu Aug 17 22:22:32 2006
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
| Related mails | Author | Date |
|---|---|---|
| David Alter | Aug 17, 22:16 | |
| Sherm Pendley | Aug 17, 22:22 | |
| John Stiles | Aug 17, 22:28 | |
| Spencer Salazar | Aug 17, 22:42 | |
| Spencer Salazar | Aug 17, 22:51 | |
| John Stiles | Aug 17, 22:52 | |
| Nat! | Aug 18, 01:16 |






Cocoa mail archive

