Code Monkey home page Code Monkey logo

justtian / xhtextfield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jackteam/xhtextfield

0.0 2.0 0.0 10.17 MB

中文:类似微信的用户头像选择、系统信息App的手势控制键盘隐藏,还有自定义9种输入风格,比如输入Email并检查是否正确、输入密码检查是否输入正确、输入生日自动帮你选择星座、自定义textField的leftView的图标等功能,注意:还有输入错误的标识提示哦! English: Like weChat avatars selection, system information App gesture keypad, and custom style 9 kinds of input, such as input Email and check whether it is right, input the password check whether correct, input automatically help you choose birthday constellation, customize the textField leftView ICONS, and other functions, note: there are input error identification tips!

License: MIT License

xhtextfield's Introduction

XHTextField

中文:类似微信的用户头像选择、系统信息App的手势控制键盘隐藏,还有自定义9种输入风格,比如输入Email并检查是否正确、输入密码检查是否输入正确、输入生日自动帮你选择星座、自定义textField的leftView的图标等功能,注意:还有输入错误的标识提示哦!

English: micro letter like avatars selection, system information App gesture keypad, and custom style 9 kinds of input, such as input Email and check whether it is right, input the password check whether correct, input automatically help you choose birthday constellation, customize the textField leftView ICONS, and other functions, note: there are input error identification tips!

image

##安装 ##Installation

中文: CocosPods安装XHTextField的推荐方法,只是在Podfile添加以下行:

english: CocosPods is the recommended methods of installation XHTextField, just add the following line to Profile:

Profile

pod 'XHTextField'

例子

Example

- (void)_setup {
    XHTextField *emailTextField = [[XHTextField alloc] initWithFrame:CGRectMake(0, 0, 100, 35)];
    [emailTextField setFieldType:kXHEmailField];
    // diss keyboard gesture
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] init];
    XHTextFieldScrollView *scrollView = [[XHTextFieldScrollView alloc] initWithFrame:self.view.bounds];
    [scrollView setDismissivePanGestureRecognizer:pan];
    [scrollView addSubview:emailTextField];
    [self.view addSubview:scrollView];
}

- (void)viewDidLoad {
    [self _setup];
}

Thank you

mehfuzh

License

中文: XHTextField 是在MIT协议下使用的,可以在LICENSE文件里面找到相关的使用协议信息.

English: XHTextField is acailable under the MIT license, see the LICENSE file for more information.

=======================

须知

中文:如果您在您的项目中使用开源组件,请给我们发电子邮件告诉我们您的应用程序的名称,否则后果自负。

Instructions

English:If you use open source components in your project, please Email us to tell us the name of your application, otherwise the consequence is proud.

xhtextfield's People

Contributors

xhzengaib avatar

Watchers

James Cloos avatar Bingo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.