LFTokenInputView 1.0.5

LFTokenInputView 1.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2019

Maintained by Lam TsanFeng.



  • By
  • lincf0912

LFTokenInputView

  • 类似原生邮件的输入框

Installation 安装

  • CocoaPods:pod 'LFTokenInputView'
  • 手动导入:将LFTokenInputView\class文件夹拽入项目中,导入头文件:#import "LFTokenInputView.h"

调用代码

LFTokenInputView *tokenInputView = [[LFTokenInputView alloc] initWithFrame:CGRectMake(0, 100, self.view.bounds.size.width, 44)]; tokenInputView.fieldName = @"To:"; tokenInputView.placeholderText = @"Enter a name"; tokenInputView.drawBottomBorder = YES;

tokenInputView.delegate = self; tokenInputView.dataSource = self;

图片展示

image