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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to