Re: float[4][3] into NSValue
Re: float[4][3] into NSValue
- Subject: Re: float[4][3] into NSValue
- From: Paul Sargent <email@hidden>
- Date: Tue, 20 Nov 2007 19:37:47 +0000
On 20 Nov 2007, at 19:16, Lorenzo wrote:
Can I store a float[4][3] into an NSValue object?
Or can I store my own struct in an NSValue?
If yes, how to do that?
And how to get back the float[4][3] from the NSValue?
No, NSValues are for single values, not arrays of them.
If you're just looking for a way to encapsulate your array and pass it
around, try NSData.
_______________________________________________
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