Latest 1.0.4
Homepage https://github.com/lincf0912/LFTokenInputView
License MIT
Platforms ios 7.0, requires ARC
Authors
  • 类似原生邮件的输入框

Installation 安装

  • CocoaPods:pod ‘LFTokenInputView’
  • 手动导入:将LFTokenInputViewclass文件夹拽入项目中,导入头文件:#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

Latest podspec

{
    "name": "LFTokenInputView",
    "version": "1.0.4",
    "summary": "iOS's native contact bubbles UI, it look like email input view",
    "homepage": "https://github.com/lincf0912/LFTokenInputView",
    "license": "MIT",
    "authors": {
        "lincf0912": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/lincf0912/LFTokenInputView.git",
        "tag": "1.0.4",
        "submodules": true
    },
    "requires_arc": true,
    "source_files": [
        "LFTokenInputView/class/*.{h,m}",
        "LFTokenInputView/class/**/*.{h,m}"
    ],
    "public_header_files": [
        "LFTokenInputView/class/*.h",
        "LFTokenInputView/class/model/*.h",
        "LFTokenInputView/class/define/LFTokenInputType.h"
    ]
}

Pin It on Pinterest

Share This