Skip to content

About

A sloppy swiper, which pops a view controller with a gesture from anywhere on the screen

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

LazyBackSwiper

A library to easily implement sloppy swiper, which pops a view controller with a gesture from anywhere on the screen.

Usage

In the view controller that you want to enable sloppy swiper effect, configure it as follows:

// Keep a reference to LazyBackSwiper
var lazySwiper: LazyBackSwiper?

override func viewDidLoad() {
    super.viewDidLoad()
    ...
    
    if let navigationController = navigationController {
        lazySwiper = LazyBackSwiper(navigationController: navigationController)
        navigationController.delegate = lazySwiper
    }
}

Example Project

You can find the demo project in the Example folder.

About

A sloppy swiper, which pops a view controller with a gesture from anywhere on the screen

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages