Inherits from UIControl
Conforms to UIScrollViewDelegate
Declared in TKSlideToUnlockView.h

Overview

TKSlideToUnlockView is a control that allows users to slide to unlock like you would the lock screen.

Tasks

Properties

  •   textLabel

    The shimmering text label that directs the user to act.

    property
  •   scrollView

    The scroll view that the user slides

    property
  •   backgroundView

    The view behind the scroll view

    property
  •   isUnlocked

    A read-only property to tell whether to tell the state of the view

    property
  •   mode

    The mode flag to enable of disable the view from acting. If disabled the device will vibrate.

    property
  • – resetSlider:

    Reset the slider view to the original position.

Properties

backgroundView

The view behind the scroll view

@property (nonatomic, strong) UIImageView *backgroundView

Discussion

The view behind the scroll view

Declared In

TKSlideToUnlockView.h

isUnlocked

A read-only property to tell whether to tell the state of the view

@property (nonatomic, readonly) BOOL isUnlocked

Discussion

A read-only property to tell whether to tell the state of the view

Declared In

TKSlideToUnlockView.h

mode

The mode flag to enable of disable the view from acting. If disabled the device will vibrate.

@property (nonatomic, assign) TKSlideToUnlockViewMode mode

Discussion

The mode flag to enable of disable the view from acting. If disabled the device will vibrate.

Declared In

TKSlideToUnlockView.h

scrollView

The scroll view that the user slides

@property (nonatomic, strong) UIScrollView *scrollView

Discussion

The scroll view that the user slides

Declared In

TKSlideToUnlockView.h

textLabel

The shimmering text label that directs the user to act.

@property (nonatomic, strong) TKShimmerLabel *textLabel

Discussion

The shimmering text label that directs the user to act.

Declared In

TKSlideToUnlockView.h

Instance Methods

resetSlider:

Reset the slider view to the original position.

- (void)resetSlider:(BOOL)animated

Parameters

animated

If yes, the view will animate to a reset position.

Discussion

Reset the slider view to the original position.

Declared In

TKSlideToUnlockView.h