• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Pattern Lock for iOS similar to the one in Android

CocoaPods Compatible Carthage Compatible Platform Twitter GitHub stars GitHub forks

Pattern Lock for iOS

Revamped PatternLock for iOS written in Swift3.

ScreenShot

  • no graphics or images
  • all colors and sizes are customizable
  • can enable closed-type(complex type) patterns
  • support for both iPhone and iPad
  • Easy to bring in and use

CocoaPods

	pod 'SPPatternLock'

Initialization

		/**
     Initializes the main lock screen
     
     - parameter frame: `CGRect` where the screen will be drawn
     - parameter size: Size of the lock screen. It will create grids of size X size. Default value is 3
     - parameter allowClosedPattern: If set to `true`, it allows for complicated pattern. Otherwise a circle can't be used twice for a pattern
     - parameter config: Configuration for colors and line width, etc
     - parameter handler: Callback to receive the user pattern
     - returns: Returns the Lock screen
     */
    convenience init(frame: CGRect, size: Int = 3, allowClosedPattern: Bool = true, config: Config = Config(), handler: PatternHandlerBlock? = nil)

About

If you found this little tool useful, I'd love to hear about it. You can also follow me on Twitter at @iosCook

GitHub followers

More Repositories

1

SPAnalogClock

a clone of native app clock
Objective-C
95
star
2

TLDR

Too Long; Didn't read. TLDR man page in Swift. This is the open source code for the app available in app store at https://appsto.re/sg/IQ0-_.i
Swift
66
star
3

SwiftTemplate

Xcode template to generate swift templates using MVVM Model. (Available on Alcatraz)
JavaScript
46
star
4

SPTinderView

Tinder clone for iOS
Swift
17
star
5

PGParallaxView

ParallaxView inspired by Yahoo News
Swift
6
star
6

PGDebugView

Convert Plist into a visual editor
Swift
5
star
7

SwiftViper

Modified Viper design architecture (Instead of MVC) template in Swift
JavaScript
5
star
8

Bulldog

Simple yet powerful json parser for iOS and Mac
Swift
5
star
9

Animated-Calendar

A clone of animated calendar similar to the one used in Band of the day app (https://itunes.apple.com/us/app/band-of-the-day/id459664402?mt=8)
Objective-C
4
star
10

TextScroller

A text scroller View (scrolls left or right horizontally)
Objective-C
4
star
11

PlistToEnum

A better way to read .plist file. In-plist, Out-Enum
Swift
3
star
12

CoreML-Demo

new CoreML demo to get the type of image from google image model
Swift
2
star
13

CoreDataManager

A simple core-data manager library for Objective C
2
star
14

playground

A node.js application to create swift playground from command line
JavaScript
2
star
15

PListHelper

Plist helper
Swift
2
star
16

MyScripts

Scripts that make life easier as a developer
Shell
1
star
17

qqlyrics

A lyrics search engine
Objective-C
1
star
18

Star-Ratings

draw star ratings using drawRect method. No images needed
1
star
19

NBA

Command line NBA written in Python
Python
1
star