Latest | 1.0.1 |
---|---|
Homepage | https://github.com/Chren/GSPasswordInputView |
License | MIT |
Platforms | ios 7.0, requires ARC |
Authors |
GSPasswordInputView is a wechat payment like password input view.
Howto Install
Install with CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.
Podfile
platform :ios, '7.0'
pod 'GSPasswordInputView'
Usage
-
Storyboard
Drag an UIView to your storyboard, set its class to GSPasswordInputView. That's it!
- Create from code
GSPasswordInputView *pwdInputView = [[GSPasswordInputView alloc] initWithFrame:CGRectMake(0, 0, 160, 40)]; pwdInputView.numberOfDigit = 6; [self.view addSubview:pwdInputView];
- Delegate
Implement delegate below to get called when input complete;- (void)didFinishEditingWithInputView:(GSPasswordInputView *)anInputView text:(NSString *)aText;
Requirements
- iOS7.0 (>=)
- ARC
License
GSPasswordInputView is released under the MIT license. See LICENSE for details.
Latest podspec
{ "name": "GSPasswordInputView", "version": "1.0.1", "summary": "GSPasswordInputView is Wechat payment like input view.", "description": "GSPasswordInputView is Wechat payment like input view. Simple and easy to use.", "homepage": "https://github.com/Chren/GSPasswordInputView", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Aren": "[email protected]" }, "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/Chren/GSPasswordInputView.git", "tag": "1.0.1" }, "source_files": "GSPasswordInputView/*.{h,m}", "requires_arc": true }
Sat, 27 Feb 2016 01:22:36 +0000