Skip to content

jaredchu/JCActionSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JCActionSheet

Action Sheet with check mark like PodCasts app.

JCActionSheet JCActionSheet

Usage in Swift:

let actionSheet = JCActionSheet.init(title: nil, delegate: self, cancelButtonTitle: "Cancel", 
destructiveButtonTitle: "Delete", otherButtonTitles: ["Button 1","Button 2","Button 3"], 
textColor: UIColor.black, checkedButtonIndex:0);

self.present(actionSheet, animated: true, completion: nil);

Usage in ObjectiveC:

JCActionSheet *actionSheet = [[JCActionSheet alloc]initWithTitle:nil delegate:self cancelButtonTitle:@"Cancel" 
destructiveButtonTitle:nil otherButtonTitles:@[@"Button 1",@"Button 2",@"Button 3"] 
textColor:[UIColor blackColor] checkedButtonIndex:0];

[self presentViewController:actionSheet animated:YES completion:nil];

About

Action Sheet with check mark like PodCasts app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published