现有的iOS表单框架 [英] Existing iOS form framework

查看:145
本文介绍了现有的iOS表单框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在iPhone和iPad应用中反复构建表单:

Hello I am building forms over and over in iPhone and iPad apps:


  • 自定义UITableViewCells用于带输入的标签

  • 标签,占位符文本和章节标题的本地化

  • 标记单元格为红色或某些内容的验证,如果表单不完整则不允许提交

  • 单击单元格可激活可编辑文本框

  • 下一个/上一个按钮

  • 跨设备,方向,iOS版本可靠

  • Custom UITableViewCells for labels with input
  • Localization for labels, placeholder text and section headers
  • Validation that marks the cells red or something and does not allow "Submit" if form is incomplete
  • Clicking in the cell activates the editable text box
  • Next / previous buttons
  • Reliable across devices, orientations, iOS versions

我无法想象我是唯一一个这样做的人。是否有成熟的框架或可以插入和使用的东西?你可以评论你如何使用这个库以及除了我自己的颜色等香草UITableViews之外的设计吗?

I can't imagine I'm the only one doing this. Is there a mature framework or something that can drop in and use? Could you please comment on how you use this library with designs other than vanilla UITableViews with your own colors etc.?

推荐答案

看看IBAForms--来自Itty Bitty Apps的开源项目。我自己还没有使用它,但是我认为它除了验证之外还能完成你想要的大部分工作。这是github页面: IBA表格

Take a look at IBAForms - an open source project from from Itty Bitty Apps. I haven't used it yet myself, however I believe it does most of what you want, except for validation. Here is the github page: IBA Forms

它还没有维持一段时间,但是如果你正在寻找一个表单库 - 它已经成熟并且有效。至少,它可能是你进一步采取行动的起点。

It hasn't been maintained in a while, but if you're looking for a forms library - it's mature and works. At the very least, it could be the starting point for something you take further.


  • 更新:Chris Miles还有 EZForm 库,非常好看。

更新#2:还开始查看 QuickDialog ,似乎非常受欢迎。

Update #2: Have also started checking out QuickDialog, which seems to be very popular.

更新#3:Nick Lockwood创建了一个名为 FXForms

Update #3: Nick Lockwood has created one called FXForms

更新#4:Martin Barreto创建了一个名为 XLForm

Update #4: Martin Barreto has created one called XLForm

这篇关于现有的iOS表单框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆