Re: structs in Mutable containers
Re: structs in Mutable containers
- Subject: Re: structs in Mutable containers
- From: Phil <email@hidden>
- Date: Wed, 17 Sep 2008 00:46:04 +1200
On Wed, Sep 17, 2008 at 12:41 AM, Phil <email@hidden> wrote:
> [NSValue valueWithBytes:somePoint objCType:@encode(NSPoint)]
>
Should be:
NSPoint somePoint = NSMakePoint(x,y);
[NSValue valueWithBytes:&somePoint objCType:@encode(NSPoint)];
Phil
_______________________________________________
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