Overlay Swipe Navigation Controller with Swift

OverlaySwipeNavigationController is a helpfull UIKit framework, which helps you to embed Full Screen Swipe Back Gesture animation, also helps to hide top and back bars statically, creating an overlay effect of child view controller, as in Telegram, for example

Install:

Swift Package Manager

Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Xcode 11+ is required to build SnapKit using Swift Package Manager.

To integrate SnapKit into your Xcode project using Swift Package Manager, add it to the dependencies value of your Package.swift:

dependencies: [
    .package(url: "https://github.com/Hadevs/OverlaySwipeNavigationController.git")
]

Usage:

  1. import OverlaySwipeNavigationController

  2. Subclass your viewControllers inside your Navigation Controller as ChildFullSwipeViewController

class ViewController1: ChildFullSwipeViewController
class ViewController2: ChildFullSwipeViewController
  1. Subclass your navigation controller as FullSwipeNavigationController
let nc = FullSwipeNavigationController(rootViewController: vc)
  1. Push child screen
push(viewController: vc, isNeedToHideBars: true)

GitHub

View Github