Latest 1.0.2
Homepage https://github.com/songguolin/MyForm
License MIT
Platforms ios 7.0, requires ARC
Dependencies Masonry
Authors

MYForm

Version
License
Platform
Language

应用截图

image

框架整体介绍

  • 该框架为一个能够快速构建信息表单的一款工具。
  • 支持cocoapad,使用 pod ‘MyForm’。

框架支持与框架依赖

  • iOS7.0
  • (采用arc模式)
  • XCode8.0

注意点

模型驱动视图:模型定义
FormModel * model1=[FormModel new];
model1.cellHeight=60.f;
model1.placeholder=[self getPlaceholderWithType:i];
model1.content=nil;
model1.formCellViewType=FormCellViewType_TF;
model1.formTextFieldType=FormTextFieldType_English;
model1.showTitle=YES;

//自定义cell中的内容
-(FormBaseView*)tableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath
{
   //自定义,只要继承自FormBaseView 即可
   //return [TextFiledForm creat];

   //nil代表自动生成
     return nil;
}

Latest podspec

{
    "name": "MyForm",
    "version": "1.0.2",
    "summary": "An easy way to table",
    "homepage": "https://github.com/songguolin/MyForm",
    "license": "MIT",
    "authors": {
        "guolin u00a0u00a0u00a0u00a0song": "[email protected]"
    },
    "source": {
        "git": "https://github.com/songguolin/MyForm.git",
        "tag": "1.0.2"
    },
    "source_files": "MyForm/**/*.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "dependencies": {
        "Masonry": []
    }
}

Pin It on Pinterest

Share This