All Projects → saoudrizwan → Cardslider

saoudrizwan / Cardslider

Innovative twist to Tinder cards for iOS.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Cardslider

tcard
Flutter tinder like cards
Stars: ✭ 132 (-86.75%)
Mutual labels:  cards, tinder
Swipeablecards
Stars: ✭ 136 (-86.35%)
Mutual labels:  cards, tinder
Shuffle
🔥 A multi-directional card swiping library inspired by Tinder
Stars: ✭ 535 (-46.29%)
Mutual labels:  cards, tinder
Verticalcardswiper
A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.
Stars: ✭ 830 (-16.67%)
Mutual labels:  cards, tinder
Vue Content Loading
Vue component to easily build (or use presets) SVG loading cards Facebook like.
Stars: ✭ 729 (-26.81%)
Mutual labels:  cards
Koloda
KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.
Stars: ✭ 4,998 (+401.81%)
Mutual labels:  cards
Sdk
Make any URL embeddable. Turn any URL into a beautiful link preview.
Stars: ✭ 446 (-55.22%)
Mutual labels:  cards
Timelinecards
Presenting timelines as cards, single or bundled in scrollable feed!
Stars: ✭ 415 (-58.33%)
Mutual labels:  cards
Ph2date
💕 Powerful & lightweight PHP Dating Script built with CodeIgniter 2.X and Bootstrap + jQuery 💖
Stars: ✭ 20 (-97.99%)
Mutual labels:  tinder
Tinderlike
automatic liker on tinder web
Stars: ✭ 22 (-97.79%)
Mutual labels:  tinder
Cardslayout
⭐️ Custom card-designed CollectionView layout
Stars: ✭ 686 (-31.12%)
Mutual labels:  cards
Cardpresentationcontroller
Custom UIPresentationController which mimics the behavior of Apple Music UI
Stars: ✭ 778 (-21.89%)
Mutual labels:  cards
Infinitecycleviewpager
Infinite cycle ViewPager with two-way orientation and interactive effect.
Stars: ✭ 5,720 (+474.3%)
Mutual labels:  cards
Carlenscollectionviewlayout
An easy-to-use Collection View Layout for card-like animation.
Stars: ✭ 478 (-52.01%)
Mutual labels:  cards
Tinderclone
Android UI clone of the official Tinder ❤ app
Stars: ✭ 24 (-97.59%)
Mutual labels:  tinder
Cards
Awesome iOS 11 appstore cards in swift 5.
Stars: ✭ 4,017 (+303.31%)
Mutual labels:  cards
Mocr
Meaningful Optical Character Recognition from identity cards with Deep Learning.
Stars: ✭ 19 (-98.09%)
Mutual labels:  cards
Deck
🗂 Kanban-style project & personal management tool for Nextcloud, similar to Trello
Stars: ✭ 675 (-32.23%)
Mutual labels:  cards
Tinder
Official November 2019 Documentation for Tinder's API (wrapper included)
Stars: ✭ 703 (-29.42%)
Mutual labels:  tinder
Adaptivecards
A new way for developers to exchange card content in a common and consistent way.
Stars: ✭ 950 (-4.62%)
Mutual labels:  cards

Card Slider for Swift

Tons of apps use a Tinder-style interface with cards that users can swipe right to 'like' or left to 'dislike'. But Yaroslav Zubko came up with an innovative and fresh approach to giving users more options besides just 'like' or 'dislike'. Here's Yaroslav's Dribbble shot that inspired me to create a 100% Swift project of this unique & new interface:

Dribbble shot

And here's a demo of the actual Swift project:

Demo

Note: you can pivot the cards in any direction, it all depends on where your finger is on the card.

Usage

This project isn't a framework, it's more so of a demonstration of how to approach this sort of user interface. Card Slider basically uses a UIPanGestureRecognizer in conjunction with several UIKit Dynamics behaviors. Because of this, ideally you would want all the card logic code in a view controller class, so I opted not make an external class that uses delegation to talk to the view controller.

CardView.swift

Most of the logic code is in the ViewController class, but each card is a subview of CardView. In the demo project, ImageCard is a subview of CardView and has its own custom subviews and layouts. You can create your own subclass of CardView and modify the cards data structure in ViewController to swap in your own custom cards. You can also modify the CardOption enum to show your own custom text on the cards for each of the 6 options (you may even add more, but that would require dealing with more emojis and laying them out properly.)

EmojiOptionsOverlay.swift

This file has all the logic code associated with showing the 6 emojis on the sides when the user pans the card around, as well as the heart emoji on the top right.

Credits

Yaroslav Zubko, the creator of the Dribbble shot that inspired this project, was kind enough to send me his design files. This concept and any artwork (including the emojis) is thanks to Yaroslav. https://dribbble.com/Yar_Z

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].