All Projects → shamshiranees → SRScratchView

shamshiranees / SRScratchView

Licence: MIT License
A mask imageView class which can be used a scratchView.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to SRScratchView

FGRoute
Get your device ip address, router ip or wifi ssid
Stars: ✭ 128 (+146.15%)
Mutual labels:  mask
books
A collection of online books for data science, computer science and coding!
Stars: ✭ 29 (-44.23%)
Mutual labels:  scratch
teaching-open
Scratch少儿编程教学平台,集成Scratch、ScratchJr、Python教学工具。包含课程、班级、作业、权限、赛事、社区等。
Stars: ✭ 202 (+288.46%)
Mutual labels:  scratch
sb-edit
Javascript library for manipulating Scratch project files
Stars: ✭ 33 (-36.54%)
Mutual labels:  scratch
masked-input
Mask input with simple API and rich customization
Stars: ✭ 44 (-15.38%)
Mutual labels:  mask
vim-backscratch
Small scratches for Vim, feels nice
Stars: ✭ 20 (-61.54%)
Mutual labels:  scratch
openblock-desktop
Graphic programming software for hardware like: arduino, microbit, esp32, esp8266...
Stars: ✭ 161 (+209.62%)
Mutual labels:  scratch
vue-scratchable
A Vue.js wrapper component that turns everything into fun scratch cards.
Stars: ✭ 42 (-19.23%)
Mutual labels:  scratch
shredos.x86 64
Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Stars: ✭ 383 (+636.54%)
Mutual labels:  wipe
Social-Distancing-and-Face-Mask-Detection
Social Distancing and Face Mask Detection using TensorFlow. Install all required Libraries and GPU drivers as well. Refer to README.md or REPORT for know to installation requirement
Stars: ✭ 39 (-25%)
Mutual labels:  mask
caddy-scratch
Caddy server 2.0.0 / 1.0.5 on Docker Scratch, all in 18MB / 35MB
Stars: ✭ 32 (-38.46%)
Mutual labels:  scratch
lessons
CoderDojo Toronto lessons, worksheets, and exercises. Printable or view online.
Stars: ✭ 23 (-55.77%)
Mutual labels:  scratch
ScratchVerifier
Verify Scratch accounts as genuine, for use in authorization or identification.
Stars: ✭ 17 (-67.31%)
Mutual labels:  scratch
scratching-forth
A compiler from Forth to Scratch
Stars: ✭ 19 (-63.46%)
Mutual labels:  scratch
CHRTextFieldFormatter
Provides UITextField formatting masks. Such as phone number and credit card number formatters.
Stars: ✭ 52 (+0%)
Mutual labels:  mask
ScratchRadio
Educational software for use with the LimeSDR platform
Stars: ✭ 64 (+23.08%)
Mutual labels:  scratch
remask
A multi-mask lib
Stars: ✭ 99 (+90.38%)
Mutual labels:  mask
react-native-super-ellipse-mask
Apple flavored smooth corners for React Native
Stars: ✭ 55 (+5.77%)
Mutual labels:  mask
gobo.icu
URL Shortener For Scratch
Stars: ✭ 14 (-73.08%)
Mutual labels:  scratch
unkillable-scratch
Disallow the *scratch* buffer from being killed
Stars: ✭ 13 (-75%)
Mutual labels:  scratch

SRScratchView

CI Status Version License Platform

ScreenShots

ScreenShot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift 5.0
Xcode 11.0

Installation

SRScratchView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SRScratchView'

or add SAScratchView.swift file into your project directory.

Usage

Change class of your imageView to SRSrcatchView.

import SRScratchView

//Add delegate
class ViewController: UIViewController,SRScratchViewDelegate{

override func viewDidLoad() {
super.viewDidLoad()

self.scratchImageView.delegate = self

}


//delegate method
func scratchCardEraseProgress(eraseProgress: Float) {

//Here you will get erase progress in percentage

}
}

Customize

//width of srcatch line
yourView.lineWidth = 40.0

//shape of scrach line
yourView.lineType = .square

Author

[email protected]

License

SRScratchView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].