Skip to content

327635328/LBJSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBJSDK

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'LBJSDK'

Author

1.LBJTableView

  [self.view addSubview:self.tableView];
  
  [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
    make.left.right.top.mas_equalTo(0);
    make.bottom.mas_equalTo(0);
  }];
  
  self.tableView.registerClassDictionary = @{
    [HQSetTableViewCellVM reuseCellIdentifier] : [HQSetTableViewCell class],
  };
  
  HQSetTableViewCellVM * viewModel = [[HQSetTableViewCellVM alloc]init];
  viewModel.title = @"名称";
  viewModel.showBottomLine = YES;
  viewModel.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
  viewModel.didSelectedHandler = ^(id _Nonnull obj) {
    NSLog(@"我点击了");
  };
  
  [self.tableView.formItems addObject:viewModel];

2.LBJUIKit

view.backgroundColor = [UIColor lbj_RandomColor];

view.backgroundColor = [UIColor lbj_colorWithHexString:@"#999999"];

view.backgroundColor = [UIColor lbj_colorWithHexString:@"#999999" alpha:0.6];

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published