The usual solution is to change the method signature to accept a
CGPoint* argument instead, so you can also pass NULL / nil separately
from any point.
Best regards,
Frederik Slijkerman
Chunk 1978 wrote:
i have an method that takes a CGPoint as an argument. i would like to
call the method without supplying a CGPoint, but i can't pass nil or
null. i can pass CGPointZero, but that is still a point: {0, 0}
_______________________________________________
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/frederik%40ultrafractal.com
This email sent to frede...@ultrafractal.com
_______________________________________________
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 arch...@mail-archive.com