{"id":15038821,"url":"https://github.com/horitaku46/blowinswiper","last_synced_at":"2025-04-10T00:03:23.270Z","repository":{"id":56903834,"uuid":"119990900","full_name":"horitaku46/BlowinSwiper","owner":"horitaku46","description":"BlowinSwiper makes it possible to swipe back from anywhere on the screen.","archived":false,"fork":false,"pushed_at":"2020-10-15T23:07:57.000Z","size":614,"stargazers_count":49,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T00:02:40.070Z","etag":null,"topics":["carthage","cocoapods","pop","swift","swift4","swipe","swipeback","uinavigationcontroller"],"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/horitaku46.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":"2018-02-02T14:22:13.000Z","updated_at":"2024-12-28T10:12:08.000Z","dependencies_parsed_at":"2022-08-21T02:50:11.413Z","dependency_job_id":null,"html_url":"https://github.com/horitaku46/BlowinSwiper","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horitaku46%2FBlowinSwiper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horitaku46%2FBlowinSwiper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horitaku46%2FBlowinSwiper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horitaku46%2FBlowinSwiper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horitaku46","download_url":"https://codeload.github.com/horitaku46/BlowinSwiper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131321,"owners_count":21052819,"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":["carthage","cocoapods","pop","swift","swift4","swipe","swipeback","uinavigationcontroller"],"created_at":"2024-09-24T20:40:21.261Z","updated_at":"2025-04-10T00:03:23.230Z","avatar_url":"https://github.com/horitaku46.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/horitaku46/Assets/blob/master/BlowinSwiper/banner.png\" align=\"center\" width=\"600\"\u003e\n\u003c/p\u003e\n\n[![Platform](http://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](https://developer.apple.com/iphone/index.action)\n![Swift](https://img.shields.io/badge/Swift-4.0-orange.svg)\n[![Cocoapods](https://img.shields.io/badge/Cocoapods-compatible-brightgreen.svg)](https://img.shields.io/badge/Cocoapods-compatible-brightgreen.svg)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](http://mit-license.org)\n\n## Overview\n`BlowinSwiper` makes it possible to swipe back from anywhere on the screen at `UINavigationController`!  \nI developed `BlowinSwiper` for handling with various gestures. But only right swipe...\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/horitaku46/Assets/blob/master/BlowinSwiper/normal.gif\" width=\"300\"\u003e\n    \u003cimg src=\"https://github.com/horitaku46/Assets/blob/master/BlowinSwiper/horizon_scroll.gif\" width=\"300\"\u003e\n\u003c/p\u003e\n\n## Features\n\u003cimg src=\"https://github.com/horitaku46/Assets/blob/master/BlowinSwiper/twitter_search.png\" align=\"right\" width=\"220\"\u003e\n\nIn this library, I considered what to do the handling of the horizontal scroll. It is like a search screen on Twitter Client App.  \nIt is the screen on the right.\nSample is thinking about handling with [SwipeMenuViewController](https://github.com/yysskk/SwipeMenuViewController).\n\n- Support iPhone, iPad and iPhone X! 🎉\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Translation\nMr. [Gargo](https://github.com/Gargo) translated [this README into Russian](http://gargo.of.by/blowinswiper/)!🙇‍♂️\n\n## Requirements\n- Xcode 9.0+\n- iOS 10+\n- Swift 4.0+\n\n## Installation\n### CocoaPods\n```ruby\npod 'BlowinSwiper'\n```\n### Carthage\n```ruby\ngithub \"horitaku46/BlowinSwiper\"\n```\n\n## Usage\n**See [Example](https://github.com/horitaku46/BlowinSwiper/tree/master/Example), for more details.**\n\n### Normal\n**《１》** Please add `UIGestureRecognizerDelegate` to `UINavigationController`. Because to enable edge swipe back.\n\n```swift\nimport UIKit\n\nfinal class NavigationController: UINavigationController {\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        interactivePopGestureRecognizer?.delegate = self\n    }\n}\n\nextension NavigationController: UIGestureRecognizerDelegate {\n    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer,\n                           shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -\u003e Bool {\n        return true\n    }\n}\n```\n\n**《２》** Please set `BlowinSwipeable` to `UIViewController`, and set `configureSwipeBack()` to `viewDidAppear`.\n\n```swift\nimport UIKit\n\nfinal class ViewController: UIViewController, BlowinSwipeable {\n\n    var blowinSwiper: BlowinSwiper?\n\n    override func viewDidAppear(_ animated: Bool) {\n        super.viewDidAppear(animated)\n        configureSwipeBack()\n    }\n}\n```\n---\n### Horizontal scroll handling\n**《１》** Please do 《１》 of Normal.  \n**《２》** Please refer to the following source code.  \nSet `BlowinSwipeable` to `UIViewController`.  \nSet `configureSwipeBack(isLowSensitivity: true)` and `enabledRecognizeSimultaneously(scrollView: swipeMenuView.contentScrollView)` to `viewDidAppear`.  \nSet `disabledRecognizeSimultaneously()` to `viewDidDisappear`.\n\n```swift\nimport UIKit\n\nfinal class ViewController: UIViewController, BlowinSwipeable {\n\n    var blowinSwiper: BlowinSwiper?\n\n    override func viewDidAppear(_ animated: Bool) {\n        super.viewDidAppear(animated)\n        configureSwipeBack(isInsensitive: true)\n        enabledRecognizeSimultaneously(scrollView: swipeMenuView.contentScrollView)\n    }\n\n    override func viewDidDisappear(_ animated: Bool) {\n        super.viewDidDisappear(animated)\n        disabledRecognizeSimultaneously()\n    }\n}\n\nextension MenuViewController: SwipeMenuViewDelegate {\n    func swipeMenuViewDidScroll(_ contentScrollView: UIScrollView) { // added itself to this delegate.\n        handleScrollRecognizeSimultaneously(scrollView: contentScrollView)\n    }\n}\n```\n\n## Author\n### Takuma Horiuchi\n- [Facebook](https://www.facebook.com/profile.php?id=100008388074028)\n- [Twitter](https://twitter.com/horitaku_)\n- [GitHub](https://github.com/horitaku46)\n\n## License\n`BlowinSwiper` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoritaku46%2Fblowinswiper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoritaku46%2Fblowinswiper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoritaku46%2Fblowinswiper/lists"}