Inherits from UIControl
Conforms to UIScrollViewDelegate
Declared in TKSlideToUnlockView.h
TKSlideToUnlockView.m

Overview

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

Tasks

Properties

Properties

arrowView

The arrow

@property (nonatomic, strong) UIImageView *arrowView

Declared In

TKSlideToUnlockView.h

backgroundView

The view behind the scroll view

@property (nonatomic, strong) UIImageView *backgroundView

Declared In

TKSlideToUnlockView.h

isUnlocked

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

@property (nonatomic, readonly) BOOL isUnlocked

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

Declared In

TKSlideToUnlockView.h

scrollView

The scroll view that the user slides

@property (nonatomic, strong) UIScrollView *scrollView

Declared In

TKSlideToUnlockView.h

textLabel

The shimmering text label that directs the user to act.

@property (nonatomic, strong) TKShimmerLabel *textLabel

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.

Declared In

TKSlideToUnlockView.h