iOS: Tinder-like swiping possible?

  1. 3 months ago

    Marcel Z

    Jan 11 Kirn, RP, Germany.

    I never used Xojo for iOS. Only Web & Mac - until now.

    Would it be possible to code a Tinder-like GUI, with swiping cards to the left and right?
    Or is this to special for Xojo?

    Is there a plugin or something for a Tinder-Navigation I could buy for Xojo?

  2. Jason K

    Jan 11 Pre-Release Testers

    Using iOSKit you could add a swipe gesture recognizer to a canvas and then change what is displayed when the swipe event is triggered. So definitely possible and should be pretty easy even.

    https://github.com/kingj5/iOSKit

  3. Marcel Z

    Jan 12 Kirn, RP, Germany.

    Thank you. Thats looking good, but is there something more "neutral"?

    My big hope would be, that I can use the same source code or a lot of the souce code for iOS and in the upcoming Xojo for Android.
    If I use ioskit, I think, I have to rewrite most of the code. :(

  4. Christoph D

    Jan 12 Pre-Release Testers, Xojo Pro

    Unless Xojo Inc adds this there no change for it.

  5. Gavin S

    Jan 12 Pre-Release Testers UK

    Proper gesture support (swipes, flicks, pinches, touch and hold and more) should have been there from day 1. They're one of the defining features of iOS. Without them, it's akin to having a Mac app without mouse support.

  6. 7 weeks ago

    Hans-Jürgen M

    Mar 1 Pre-Release Testers, Xojo Pro Europe (Germany)

    You can do this by using the parameter pos (xojo.core.point) in the PointerDown, PointerUp and PointerDrag events of the canvas.
    I.e. Use the PointerDown event as the Startpoint and then check the differences of the pos in the other events. In the PointerDrag event you can use the eventInfo.PointerCount parameter to check out if there are 1 or more fingers on the canvas (zoom in/out i.e.).
    It's some work, but pure xojo code.

  7. Tim J

    Mar 1 Pre-Release Testers, Xojo Pro Back in Phoenix, AZ USA (desic...

    @Hans-Jürgen Müller You can do this by using the parameter pos (xojo.core.point) in the PointerDown, PointerUp and PointerDrag events of the canvas.
    I.e. Use the PointerDown event as the Startpoint and then check the differences of the pos in the other events. In the PointerDrag event you can use the eventInfo.PointerCount parameter to check out if there are 1 or more fingers on the canvas (zoom in/out i.e.).
    It's some work, but pure xojo code.

    Thanks for this Hans-Jürgen!

or Sign Up to reply!