Re: Qustion about possibly bad advice in NSView documentation
Re: Qustion about possibly bad advice in NSView documentation
- Subject: Re: Qustion about possibly bad advice in NSView documentation
- From: Chris Suter <email@hidden>
- Date: Wed, 26 Sep 2007 12:29:08 +1000
On 26/09/2007, at 11:52 AM, Scott Ribe wrote:
As for NSInvocation, obviously you can use NSInvocation to pass
arguments of pretty much any type you like.
As long as they're 8 bytes or smaller? And yes, I think that means
they
won't work with NSRects either. I ran into this with some C++
integration;
solution was to pass pointers instead of values...
Unless you've encountered a bug in your specific usage, NSInvocation
should work fine with passing parameters that are more than 8 bytes
in size. It certainly works fine with a simple test program I just
tried on my Intel Mac.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden