blob: 750874f89c3d25c63b15c9d9475a102f2f9edb56 [file] [log] [blame]
{
"name": "BRSignatureView",
"version": "0.1.2",
"summary": "A lightweight, fast and customizable option for capturing signatures within your app.",
"description": "UI component for capturing signature.\n\nLicense\nSource code of this project is available under the standard MIT license. Please see the license file.\n\nUsage\nTo see a quick demo, simply type pod try SignatureView.\n\nInitialize SignatureView from nib or programmatically:\n\nCGRect frame = CGRectMake(0, 40, 320, 300);\nid view = [[SignatureView alloc] initWithFrame:frame];\n[self.view addSubview:view];\nself.signatureView = view;\nCustomization\nYou can customzie following attributes:\n\nLine Color\n\nself.signatureView.foregroundLineColor = [UIColor redColor];\nself.signatureView.backgroundLineColor = [UIColor blueColor];\nLine Width\n\nself.signatureView.foregroundLineWidth = 3.0;\nself.signatureView.backgroundLineWidth = 3.0;\nSignature\nA signature image can be retrieved by UIImage object:\n\nUIImage *signature = [self.signatureView signatureImage];\nor by PNG representation:\n\nNSData *signatureData = [self.signatureView signatureData];\nClearing\nSignatureView comes with a UILongPressGestureRecognizer which is responsible for clearning its view;",
"homepage": "https://gitlab.srswebsolutions.com/berlinrajs/BRSignatureView",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"berlinrajs": "berlinrajs@srswebsolutions.com"
},
"source": {
"git": "https://gitlab.srswebsolutions.com/berlinrajs/BRSignatureView.git",
"tag": "0.1.2"
},
"platforms": {
"ios": "8.0"
},
"source_files": "BRSignatureView/Classes/BRSignatureView.swift",
"resource_bundles": {
"BRSignatureView": [
"BRSignatureView/Assets/Clear.png"
]
}
}