Adding MF Swipe recognizer and Trigger zone recognizer#56
Adding MF Swipe recognizer and Trigger zone recognizer#56darthbator wants to merge 1 commit intoprime31:masterfrom
Conversation
|
Looks good to me. If you can just swap it over to the coding style the rest of TouchKit uses (there is an mdpolicy file in the root of the repo with the formatting baked in) I can get this merged in. |
|
I went ahead and imported the policy into monodev, made sure it was being used in the options and then used Edit>Format>Format Document but didn't see any format changes occur. The selected policy is NewP31XamarinPolicy. I'm not ultra familiar with formatting documents in Monodev so any help would be appreciated. I am assuming I'm doing something wrong? |
|
Xamarin has 3 levels for its formatting (and all of its settings for that matter):
You have to make sure they are all set correctly for Xamarin to pick up on a top level policy. Solution and project must be set to inherited. |
These are two new recognizers that I have written. One that tracks a single touch starting in a boundary until it ends and the other a version of the swipe recognizer that is able to simultaneously track swipes across multiple fingers.