Is there a reusable UITableViewCell with a label and text field?
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
精彩评论