Giter Club home page Giter Club logo

ksswipestack's People

Contributors

arneson avatar manucheri avatar sundin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ksswipestack's Issues

how to swipe a card when clicked on button?

in my app I want to add yes and no button so when I click on yes button the card would remove from right side and when clicked on no button the card would remove from left side.

Being able to programmatically trigger swipe

Not sure if this functionality already exists, but couldn't see anything to lead me in that direction. I have implemented your library and it works great, however, my card has two buttons like/dislike that need to allow the user to perform the same actions that swiping left/right would. Is this functionality built in?

adding navigation controller

Hi,
thanks for the project. when I started the example project it worked fine. When I embedded a navigation controller to the example project and to fit the size of the cards according to my needs, I added a new view with the desired constraints. I removed the outlet from the main view and connected the outlet to the new view and changed the custom classes too. But the cards does not position in the middle of the screen and does not swipe out the screen on incomplete swipes.

  1. How can I change the size of cards to fit my needs?
  2. what happens if I try to swipe 10000 cards? Does cards load at once in the memory and cause high memory usage?

Best Regards

Recognize the Direction while swiping

Hi, Thanks for the useful library.

There is an option to find the direction after swiping. But I couldn't find the way how to recognize the direction of cards/view while swiping.
I tried a lot of methods. But couldn't figure out. Need help.

Thanks

SwipeView link in ReadMe leads nowhere

I'm not able to clarify what it means to put a SwipeView into my Storyboard. I wondered if it would just magically appear after installing this cocoapod but the closest thing I can find in my right sidebar is a "Swipe Gesture Recognizer".

Stuck at first step. Sad face :(

How to make the card edges visible?

How would i go about
making the cards have a margin so their edge is visible as a stack
with some sort of inset a few pixels from the edge of the screen

somehow the cards seem to be bigger as the screen itself
also how do i change the border color of the cards?

Get card data from Array

I tried a lot of methods. But I can't figure out. How to aff card data from array and show in swipwview.

In viewdidLoad method, the card data written as

for _ in 1...15 {
            swipeView.addCard(ExampleData())
        }

Secondary swipe treatment

Hey guys,

As you know, we're using this excellent library:)

We want to add a secondary swipe movement on swipe down gesture that would simulate a pull to refresh and reveal a back view which we prepared beforehand: this means the swipe down should be only partially taking out the card, and would have the springboard effect that a regular pull to refresh has. We want to do this as a toggle so first down swipe pulls the swipeview down, the second brings it back.

My question is: how can one treat the swipes in KSSwipeStack before they happen? Is there a way to define a secondary swipe, like the one described above? I've seen in the SwipeHelper the function move(card, duration, toPoint) which would be useful but it's private, and we would rather use what's exposed, for sake of upwards library compatibility.

Thanks in advance for your answer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.