{"id":15037440,"url":"https://github.com/freesuraj/sppatternlock","last_synced_at":"2025-04-04T12:09:11.971Z","repository":{"id":5996423,"uuid":"7219163","full_name":"freesuraj/SPPatternLock","owner":"freesuraj","description":"A Pattern Lock for iOS similar to the one in Android","archived":false,"fork":false,"pushed_at":"2025-02-17T00:03:03.000Z","size":128,"stargazers_count":167,"open_issues_count":0,"forks_count":47,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-04T12:09:08.691Z","etag":null,"topics":["lockscreen","pattern-lock","swift","swift3"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freesuraj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-18T07:18:13.000Z","updated_at":"2025-02-17T00:03:06.000Z","dependencies_parsed_at":"2025-03-04T00:36:09.234Z","dependency_job_id":null,"html_url":"https://github.com/freesuraj/SPPatternLock","commit_stats":null,"previous_names":["freesuraj/patternlock"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FSPPatternLock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FSPPatternLock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FSPPatternLock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FSPPatternLock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freesuraj","download_url":"https://codeload.github.com/freesuraj/SPPatternLock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174453,"owners_count":20896078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lockscreen","pattern-lock","swift","swift3"],"created_at":"2024-09-24T20:34:38.357Z","updated_at":"2025-04-04T12:09:11.942Z","avatar_url":"https://github.com/freesuraj.png","language":"Swift","readme":"[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SPPatternLock.svg)](http://cocoadocs.org/docsets/SPPatternLock/)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/SPPatternLock.svg?style=flat)](http://cocoadocs.org/docsets/SPPatternLock)\n[![Twitter](https://img.shields.io/badge/twitter-@iosCook-blue.svg?style=flat)](http://twitter.com/iosCook)\n[![GitHub stars](https://img.shields.io/github/stars/freesuraj/patternlock.svg?style=social\u0026label=Star)](https://github.com/freesuraj/SPPatternlock)\n[![GitHub forks](https://img.shields.io/github/forks/freesuraj/patternlock.svg?style=social\u0026label=Fork)](https://github.com/freesuraj/SPPatternlock)\n\nPattern Lock for iOS\n========================\nRevamped PatternLock for iOS written in Swift3.\n\n![ScreenShot](https://github.com/freesuraj/SPPatternLock/blob/master/Examples/patternLock.png?raw=true)\n\n\n* **no graphics or images**\n* **all colors and sizes are customizable**\n* **can enable closed-type(complex type) patterns**\n* **support for both iPhone and iPad**\n* **Easy to bring in and use**\n\n### CocoaPods\n\t\tpod 'SPPatternLock'\n### Initialization\n\n```swift\n\t\t/**\n     Initializes the main lock screen\n     \n     - parameter frame: `CGRect` where the screen will be drawn\n     - parameter size: Size of the lock screen. It will create grids of size X size. Default value is 3\n     - parameter allowClosedPattern: If set to `true`, it allows for complicated pattern. Otherwise a circle can't be used twice for a pattern\n     - parameter config: Configuration for colors and line width, etc\n     - parameter handler: Callback to receive the user pattern\n     - returns: Returns the Lock screen\n     */\n    convenience init(frame: CGRect, size: Int = 3, allowClosedPattern: Bool = true, config: Config = Config(), handler: PatternHandlerBlock? = nil)\n\n```\n\n\n### About\n\nIf you found this little tool useful, I'd love to hear about it. You can also follow me on Twitter at [@realSurajP](https://twitter.com/realSurajP)\n\n\n[![GitHub followers](https://img.shields.io/github/followers/freesuraj.svg?style=social\u0026label=Follow)](https://github.com/freesuraj)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreesuraj%2Fsppatternlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreesuraj%2Fsppatternlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreesuraj%2Fsppatternlock/lists"}