{"id":32323539,"url":"https://github.com/nickypatson/tinderswipeview","last_synced_at":"2025-10-23T12:57:32.709Z","repository":{"id":56924281,"uuid":"110957119","full_name":"nickypatson/TinderSwipeView","owner":"nickypatson","description":"Swipe view inspired by tinder ","archived":false,"fork":false,"pushed_at":"2019-06-06T21:16:05.000Z","size":99309,"stargazers_count":333,"open_issues_count":9,"forks_count":60,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-23T12:57:15.084Z","etag":null,"topics":["animation","ios","potluck","swift","swipe","tinder","tinder-swipe"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickypatson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-16T10:22:55.000Z","updated_at":"2025-09-27T17:53:32.000Z","dependencies_parsed_at":"2022-08-20T22:50:29.068Z","dependency_job_id":null,"html_url":"https://github.com/nickypatson/TinderSwipeView","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nickypatson/TinderSwipeView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickypatson%2FTinderSwipeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickypatson%2FTinderSwipeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickypatson%2FTinderSwipeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickypatson%2FTinderSwipeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickypatson","download_url":"https://codeload.github.com/nickypatson/TinderSwipeView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickypatson%2FTinderSwipeView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280622573,"owners_count":26362261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","ios","potluck","swift","swipe","tinder","tinder-swipe"],"created_at":"2025-10-23T12:57:30.947Z","updated_at":"2025-10-23T12:57:32.703Z","avatar_url":"https://github.com/nickypatson.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tinder Swipe View ![Swift 5.0.x](https://img.shields.io/badge/Swift-5.0.x-orange.svg)\n\nInspired animation from Tinder and Potluck with random undo feature!\n\nRun in physical device for better animaton!!!!\n\n## Preview\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./Screen%20Shot%20.png\" alt=\"Size Limit example\"\n       width=\"316\" height=\"550\"\u003e\n    \u003cimg src=\"./playback.gif\" alt=\"Size Limit example\"\n       width=\"316\" height=\"550\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \n\u003c/p\u003e\n\n## Screenshot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./Screen%20Shot%20DIislike.png\" alt=\"Size Limit example\"\n       width=\"381\" height=\"662\"\u003e\n  \u003cimg src=\"./Screen%20Shot%20Like.png\" alt=\"Size Limit example\"\n       width=\"381\" height=\"662\"\u003e\n\u003c/p\u003e\n\n## Installation with CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Swift, which automates and simplifies the process of using 3rd-party libraries in your projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\n## Podfile\n\nTo integrate GradientSlider into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\n\ntarget 'TargetName' do\nuse_frameworks!\n\npod 'TinderSwipeView’ , '~\u003e 1.1.8'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod repo update\n\n$ pod install\n```\n\n## Instantiation\n\nTinder Swipe been instantiated programmatically using :\n\n```swift\n\n    let swipeView = TinderSwipeView\u003cUserModel\u003e(frame: viewContainer.bounds, contentView: contentView)\n    swipeView.showTinderCards(with: userModels)\n    \n```\nDynamically create tinder card either by programmatically or from nib  for each index \n\n```swift\n\npublic typealias ContentView = (_ index: Int, _ frame: CGRect, _ element:Element) -\u003e (UIView)\n\n```\n## Animation\n\n```swift\n\n    internal func didSelectCard()\n    internal func cardGoesRight()\n    internal func cardGoesLeft()\n    internal func rightClickAction()\n    internal func leftClickAction()\n    internal func makeUndoAction()\n    internal func shakeAnimationCard(completion: @escaping (Bool) -\u003e ())\n\n```\n\n## Delegate Methods\n\nHere is a list of callbacks you can listen to:\n\n```swift\n\nprotocol TinderCardDelegate: NSObjectProtocol {\n\n    func dummyAnimationDone()\n    func didSelectCard(card: TinderCard)\n    func fallbackCard(model:Any)\n    func currentCardStatus(card: Any, distance: CGFloat)\n    func cardGoesLeft(_ object: Any)\n    func cardGoesRight(_ object: Any)\n    func endOfCardsReached()\n}\n```\n\n## Requirements\n\n```\n* Swift 5\n* XCode 10\n* iOS 8.0 (Min SDK)\n```\n\n## Author\n\nNicky Patson\n\n[HomePage](http://about.me/nickypatson)\n\n\u003cmail.nickypatson@gmail.com\u003e\n\n\n## License\n\nTinder Swipe View is available under the MIT license. See the LICENSE file for more info.\n\n## Credits\nEmoji based on [TTGEmojiRate](https://github.com/zekunyan/TTGEmojiRate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickypatson%2Ftinderswipeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickypatson%2Ftinderswipeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickypatson%2Ftinderswipeview/lists"}