Skip to content

mymirror/LSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSheet

使用方法

titleModel *model1 = [[titleModel alloc]init]; model1.modelColor = [UIColor redColor]; model1.modelFont = [UIFont systemFontOfSize:20]; model1.modelText = @"hello1";

titleModel *model2 = [[titleModel alloc]init]; model2.modelColor = [UIColor orangeColor]; model2.modelFont = [UIFont boldSystemFontOfSize:10]; model2.modelText = @"hello2";

titleModel *model3 = [[titleModel alloc]init]; model3.modelColor = [UIColor blueColor]; model3.modelFont = [UIFont systemFontOfSize:15]; model3.modelText = @"hello3";

titleModel *sheetTitleModel =[[titleModel alloc]init]; sheetTitleModel.modelColor = [UIColor darkGrayColor]; sheetTitleModel.modelFont = [UIFont systemFontOfSize:20]; sheetTitleModel.modelText = @"titles";

LCusSheet *sheet = [[LCusSheet alloc]initSheetText:@[model1,model2,model3] frame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height) sheetTitleModel:sheetTitleModel clickBlock:^(NSString *sheetTitle) { NSLog(@"%@",sheetTitle); }]; [sheet show];

About

类似ActionSheet 替代者

Resources

License

Stars

Watchers

Forks

Packages

No packages published