Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mythkiven/jpullemailtf
邮箱登录下拉提示列表_输入邮箱自动填充提示列表
https://github.com/mythkiven/jpullemailtf
animation development ios
Last synced: about 2 months ago
JSON representation
邮箱登录下拉提示列表_输入邮箱自动填充提示列表
- Host: GitHub
- URL: https://github.com/mythkiven/jpullemailtf
- Owner: mythkiven
- Created: 2016-11-04T19:02:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T02:35:39.000Z (over 5 years ago)
- Last Synced: 2024-11-20T02:53:32.737Z (about 2 months ago)
- Topics: animation, development, ios
- Language: Objective-C
- Homepage:
- Size: 469 KB
- Stars: 21
- Watchers: 1
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> 已迁移到组件库 [MKAppKit](https://github.com/mythkiven/MKAppKit)
# JPullEmail
具有邮箱下拉提示textField,类似新浪微博邮箱登录的效果,输入“@”后自动关联邮箱后缀。自动匹配输入的字符。使用方法
![](https://github.com/mythkiven/JPullEmailTF/blob/master/emailGIf.gif)
## 使用默认样式:
一句代码搞定:JPullEmailTF *textField = [[JPullEmailTF alloc] initWithFrame:self.holderView.frame InView:self.view];
## 使用自定义样式:
//自定义下拉列表的颜色,字体,frame等信息..
textField.mailCellHeight = 40;
textField.mailFont = [UIFont systemFontOfSize:16];
textField.MailFontColor = [UIColor redColor];
textField.mailCellColor = [UIColor lightGrayColor];
textField.mailBgColor = [UIColor yellowColor];
//传入后缀数据源:
textField.mailsuffixData = @[@"live.com", @"126.com", @"gmail.com",@"qq.com"];还有许多相关自定义方法都定义在.h文件里。
代码详细讲解可以看博客
[http://blog.csdn.net/jiang314/article/details/53042304](http://blog.csdn.net/jiang314/article/details/53042304)如果这个小demo帮到你的话,希望star一下哦,谢谢!