开发者

Is there a reusable UITableViewCell with a label and text field?

开发者 https://www.devze.com 2023-02-05 23:09 出处:网络
It\'s a common user interface pattern throughout iOS to have a grouped UITableView where each cell displays a label alongside a text field. It is used to collect textual information from the user, e.g

It's a common user interface pattern throughout iOS to have a grouped UITableView where each cell displays a label alongside a text field. It is used to collect textual information from the user, e.g a username and password when logging in to a service.

Does the iOS framework provide this boilerplate UITableViewCell, or will I have to create a custom cell myself? I've scoured the docs and open source librarie开发者_运维百科s without any luck, and I'd rather not have to reinvent the wheel.


Have you looked at ELCTextFieldCell?:

http://icodeblog.com/2011/01/04/elctextfieldcell-a-useful-tableviewcell-for-forms/ https://github.com/elc/ELCTextFieldCell

0

精彩评论

暂无评论...
验证码 换一张
取 消