Assuming you want to rotate about the center of the object, you probably want 
to translate the object so it's center is at the origin, do the rotation, and 
then do the inverse of the translation.  If you do that, the order of the 
recognizers shouldn't matter.

Thanks,
Jon


On Jun 14, 2013, at 7:26 PM, Rick Mann <rm...@latencyzero.com> wrote:

> So, this sort of works, and fails spectacularly.
> 
> The problem is that I can't specify the order in which each gesture's values 
> are applied to the view's transform.
> 
> So, I end up with a side-to-side panning gesture making the image move 
> up-and-down when it's rotated about 90°.
> 
> 
> On Jun 14, 2013, at 18:09 , David Rowland <rowla...@sbcglobal.net> wrote:
> 
>> Isn't it a matter of implementing this delegate method?
>> 
>> - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer 
>> shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer 
>> *)otherGestureRecognizer
>> {
>>    return YES;
>> }
>> 
>> 
>> 
>> David
>> 
>> 
>> 
>> 
>> 
>> On Jun 14, 2013, at 5:41 PM, Rick Mann <rm...@latencyzero.com> wrote:
>> 
>>> The Apple Maps application allows you to pan, zoom, and rotate in a single 
>>> two-finger gesture.
>>> 
>>> Is that done with three gesture recognizers all operating simultaneously? 
>>> Or are they just handling the touches directly?
>>> 
>>> I don't see how to get a combined transform out of the three separate 
>>> gesture recognizers.
>>> 
>>> -- 
>>> Rick
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> 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:
>>> https://lists.apple.com/mailman/options/cocoa-dev/rowlandd%40sbcglobal.net
>>> 
>>> This email sent to rowla...@sbcglobal.net
>> 
> 
> 
> -- 
> Rick
> 
> 
> 
> 
> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/jhull%40gbis.com
> 
> This email sent to jh...@gbis.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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to