Skip to content

mohsinalimat/MTSlideToOpen

 
 

Repository files navigation

MTSlideToOpen

A simple SlideToUnlock iOS UI component

Requirements

  • Swift 4
  • iOS 9.0 or later

Installation

Using CocoaPod

Just add to your Pod file

Pod 'MTSlideToOpen'

Manual install

Drag and drop folder Source to your project. Drag and drop to folder.

Usage

  let slide = MTSlideToOpenView(frame: CGRect(x: 26, y: 400, width: 317, height: 56))
  slide.sliderViewTopDistance = 6
  slide.sliderCornerRadious = 22
  slide.delegate = self
  slide.defaultLabelText = "Slide To Unlock"
  slide.thumnailImageView.image = ic_arrow

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A simple SlideToUnlock iOS UI component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 87.7%
  • Ruby 12.3%