Latest 0.1.2.6
Homepage https://github.com/mrjlovetian/MRJInputView
License MIT
Platforms ios 8.0
Dependencies MRJTool, UIViewMRJFrame, MRJUIColorAdditions, DWTagList, MRJAttributedMarkup
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

MRJInputFormView *inputView = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100, [UIScreen mainScreen].bounds.size.width, 45)];
    inputView.title = @"名称";
    [self.scrollView addSubview:inputView];

    MRJInputFormView *inputView1 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 52, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView1 setArrowViewWithTitle:@"名称1" placeholder:@"第一个" onClicked:^(FillFormBase *fillFrom) {

    }];
    [self.scrollView addSubview:inputView1];

    MRJInputFormView *inputView2 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 104, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView2 setArrowViewWithTitle:@"名称2" placeholder:@"第二个" tipsText:@"标签" onClicked:^(FillFormBase *fillFrom) {

    }];
    inputView2.title = @"名称2";
    [self.scrollView addSubview:inputView2];

    MRJInputFormView *inputView3 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 156, [UIScreen mainScreen].bounds.size.width, 45)];
    inputView3.title = @"名称3";
    [inputView3 setText1:@"第一" text2:@"第二"];
    [self.scrollView addSubview:inputView3];

    MRJInputFormView *inputView4 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 208, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView4 setUnitViewWithTitle:@"名称4" placeholder:@"名称啥" unit:@"万元"];
    [self.scrollView addSubview:inputView4];

    MRJInputFormView *inputView5 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 260, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView5 setSwitchWithTitle:@"标题5" switchTarget:self action:@selector(switchClick)];
    [self.scrollView addSubview:inputView5];

    MRJInputFormView *inputView6 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 312, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView6 setSegmentedControlWithTitle:@"标题6" dataArray:@[@"百度", @"谷歌"] controlTarget:self action:@selector(segClick)];
    [self.scrollView addSubview:inputView6];

    MRJInputFormView *inputView7 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 364, [UIScreen mainScreen].bounds.size.width, 45)];
    [inputView7 setCloseButtonWithTitle:@"标题7" isClose:YES onClicked:^(UIButton * _Nullable btn, BOOL isClose) {

    }];
    [self.scrollView addSubview:inputView7];

    MRJInputFormView *inputView8 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 416, [UIScreen mainScreen].bounds.size.width, 45)];
    inputView8.title = @"标题8";
//    [inputView8 setTitleTips:@"tip"];
    [self.scrollView addSubview:inputView8];

    MRJInputFormView *inputView9 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 468, [UIScreen mainScreen].bounds.size.width, 45)];
    inputView9.title = @"标题9";
//    [inputView9 setTipsText:@"标题"];
    [self.scrollView addSubview:inputView9];

    MRJInputFormView *inputView10 = [[MRJInputFormView alloc] initWithFrame:CGRectMake(0, 100 + 520, [UIScreen mainScreen].bounds.size.width, 45)];
    inputView10.title = @"标题";
    [inputView10 setTagList:@[@"哈哈", @"嘿嘿", @"吼吼"]];
    [self.scrollView addSubview:inputView10];

show

Installation

MRJInputView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'MRJInputView'

Author

[email protected], [email protected]

License

MRJInputView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MRJInputView",
    "version": "0.1.2.6",
    "summary": "u6587u672cu591au6837u6027u8f93u5165u6846",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/mrjlovetian/MRJInputView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mrjlovetian/MRJInputView.git",
        "tag": "0.1.2.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "MRJInputView/Classes/**/*",
    "resource_bundles": {
        "MRJInputView": [
            "MRJInputView/Assets/*.png"
        ]
    },
    "dependencies": {
        "MRJTool": [],
        "UIViewMRJFrame": [],
        "MRJUIColorAdditions": [],
        "DWTagList": [],
        "MRJAttributedMarkup": []
    }
}

Pin It on Pinterest

Share This