Latest 1.3.0
Homepage https://github.com/lemanhtien/MTSlideToOpen
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

A simple SlideToUnlock iOS UI component

MTSlideToOpen

Requirements

  • Swift 4.2
  • 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

Latest podspec

{
    "name": "MTSlideToOpen",
    "version": "1.3.0",
    "summary": "A simple SlideToUnlock iOS UI component.",
    "description": "A simple iOS UI component acts Slide To Unlock.",
    "homepage": "https://github.com/lemanhtien/MTSlideToOpen",
    "screenshots": "https://raw.githubusercontent.com/lemanhtien/MTSlideToOpen/master/Screenshot.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tien Le": "[email protected]"
    },
    "social_media_url": "https://twitter.com/Martin_ManhTien",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/lemanhtien/MTSlideToOpen.git",
        "tag": "1.3.0"
    },
    "source_files": "Source",
    "frameworks": "UIKit",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.2"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This