Re: structs in Mutable containers
Re: structs in Mutable containers
- Subject: Re: structs in Mutable containers
- From: Mike Abdullah <email@hidden>
- Date: Tue, 16 Sep 2008 14:35:15 +0100
What's wrong with +[NSValue valueWithCGPoint:CGPointMake(x, y)] ?
On 16 Sep 2008, at 13:41, Phil wrote:
On Tue, Sep 16, 2008 at 10:46 PM, Christian Giordano
<email@hidden> wrote:
I just realized valueWithPoint is not available on the iPhone SDK
It's just a convenience method for something like:
[NSValue valueWithBytes:somePoint objCType:@encode(NSPoint)]
You can implement this yourself in a category of NSValue.
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
_______________________________________________
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