{"id":20678950,"url":"https://github.com/fastred/sloppyswiper","last_synced_at":"2025-04-12T22:34:41.809Z","repository":{"id":17519865,"uuid":"20307855","full_name":"fastred/SloppySwiper","owner":"fastred","description":"UINavigationController delegate that allows swipe back gesture to be started from anywhere on the screen (not just from the edge).","archived":false,"fork":false,"pushed_at":"2019-08-15T18:33:02.000Z","size":194,"stargazers_count":807,"open_issues_count":14,"forks_count":105,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-03-15T02:12:39.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/fastred.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-05-29T20:43:46.000Z","updated_at":"2024-03-15T02:12:39.482Z","dependencies_parsed_at":"2022-09-24T17:02:19.960Z","dependency_job_id":null,"html_url":"https://github.com/fastred/SloppySwiper","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FSloppySwiper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FSloppySwiper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FSloppySwiper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FSloppySwiper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastred","download_url":"https://codeload.github.com/fastred/SloppySwiper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642308,"owners_count":21138350,"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","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":[],"created_at":"2024-11-16T21:23:16.429Z","updated_at":"2025-04-12T22:34:41.785Z","avatar_url":"https://github.com/fastred.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SloppySwiper\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/fastred/SloppySwiper/blob/master/LICENSE)\n[![CocoaPods](https://img.shields.io/cocoapods/v/SloppySwiper.svg?style=flat)](https://github.com/fastred/SloppySwiper)\n\n`SloppySwiper` is a `UINavigationController` delegate that allows swipe back gesture to be started from anywhere on the screen (not only from the left edge).\n\n### Note\n* the library recreates the default pop animation, so it doesn't look exactly the same as when `interactivePopGestureRecognizer` is used:\n  - cross dissolve animation is used in the navigation bar (instead of the back button movement)\n  - the animation tends to be glitchy on the iOS Simulator, but it's fine on the device\n  - [`hidesBottomBarWhenPushed` isn't animated properly](https://github.com/fastred/SloppySwiper/issues/2)\n* the gesture can collide with other *pan to the right* gestures\n* If you're having problems with a UINavigationController inside of\n  a UITabBarController that is causing the UITabBar to pop out of view during the animation process,\n  you'll want to implement the SloppySwiperDelegate protocol and return NO for calls to\n  `-(BOOL)sloppySwiperShouldAnimateTabBar:(SloppySwiper *)swiper`.\n\n![Demo GIF](https://raw.githubusercontent.com/fastred/SloppySwiper/master/demo.gif)\n\n## Usage\n\n`SloppySwiper` can be set either in the Interface Builder or in code. The IB usage is presented in the example project (see `Navigation Controller Scene` in `Main.storyboard`). You can set it up programmatically as follows:\n\n```obj-c\n#import \"SloppySwiper.h\"\n...\n@property (strong, nonatomic) SloppySwiper *swiper;\n...\nself.swiper = [[SloppySwiper alloc] initWithNavigationController:navigationController];\nnavigationController.delegate = self.swiper;\n```\n\n## Demo\n\nTo run the example project; clone the repo, and run `pod install` from the Example directory first. Alternatively, run ```pod try SloppySwiper``` from the command line.\n\n## Requirements\n\n* iOS 7\n* ARC\n\n## Installation\n\nSloppySwiper is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n    pod \"SloppySwiper\"\n\n## Author\n\nArkadiusz Holko:\n\n* [Blog](http://holko.pl/)\n* [@arekholko on Twitter](https://twitter.com/arekholko)\n\n## Credits\n\nI'd like to thank:\n\n* [@chriseidhof](https://github.com/chriseidhof) for writing [View Controller Transitions](http://www.objc.io/issue-5/view-controller-transitions.html), which parts of I've used in this library\n* Joshua Ginter for writing [Sloppy Swiping](http://www.thenewsprint.co/2014/04/16/sloppy-swiping/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2Fsloppyswiper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastred%2Fsloppyswiper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2Fsloppyswiper/lists"}