Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apestalk/demoinputpasswordview
仿微信支付密码输入框 (A input password alert view like wechat pay.)
https://github.com/apestalk/demoinputpasswordview
objective-c passwords payment wechat
Last synced: 3 months ago
JSON representation
仿微信支付密码输入框 (A input password alert view like wechat pay.)
- Host: GitHub
- URL: https://github.com/apestalk/demoinputpasswordview
- Owner: ApesTalk
- License: mit
- Created: 2015-06-09T03:31:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T06:12:46.000Z (over 7 years ago)
- Last Synced: 2023-02-26T17:11:08.822Z (almost 2 years ago)
- Topics: objective-c, passwords, payment, wechat
- Language: Objective-C
- Homepage:
- Size: 534 KB
- Stars: 44
- Watchers: 4
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DemoInPutPasswordView
仿微信支付密码输入框的效果其中的文本框使用了第三方库[WTReTextField](https://github.com/pieceofsummer/WTReTextField ) (一个可通过正则表达式限制文本框输入内容的文本框。)
## 使用方法:
- 1.将相关类导入到你的项目中
- 2.添加引用#import "LMPopInputPasswordView.h",实现委托LMPopInputPassViewDelegate
- 3.创建对象并设置委托,弹出视图:
```
LMPopInputPasswordView *popView = [[LMPopInputPasswordView alloc]init];
popView.frame = CGRectMake((self.view.frame.size.width - 250)*0.5, 50, 250, 150);
popView.delegate = self;
[popView pop];
```## 效果图:
![](https://github.com/lqcjdx/DemoInPutPasswordView/blob/master/input.gif)