GSPasswordInputView 1.0.1

GSPasswordInputView 1.0.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布2015年11月

Aren维护。



  • 作者:
  • Aren

GSPasswordInputView是一个类似微信支付密码输入视图。

GSPasswordInputView

安装方法

Podfile

platform :ios, '7.0'
pod 'GSPasswordInputView'

用法

  • Storyboard
  Drag an UIView to your storyboard, set its class to GSPasswordInputView.
  That's it!
  • 代码创建
  GSPasswordInputView *pwdInputView = [[GSPasswordInputView alloc] initWithFrame:CGRectMake(0, 0, 160, 40)];
  pwdInputView.numberOfDigit = 6;
  [self.view addSubview:pwdInputView];
  • 委托在输入完成时,实现以下委托以获得调用:
  - (void)didFinishEditingWithInputView:(GSPasswordInputView *)anInputView text:(NSString *)aText;

要求

  • iOS7.0 (>=)
  • ARC

许可证

GSPasswordInputView是在MIT许可证下发布的。有关详细信息,请参阅LICENSE。