Re: passing nothing to method with CGPoint argument
Re: passing nothing to method with CGPoint argument
- Subject: Re: passing nothing to method with CGPoint argument
- From: Graham Cox <email@hidden>
- Date: Sun, 6 Dec 2009 21:56:47 +1100
On 06/12/2009, at 1:08 PM, Chunk 1978 wrote:
> for factoring purposes i want to be able to call the same
> method from touchesEnded that will clear the output strings if there
> is no point, but CGPointZero is a point.
Can't you just define an 'impossible' point value to act as a sentinel? Something very negative for example.
--Graham
_______________________________________________
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