/CVCustomActionSheet

A super-simple, customizable iOS 8 - styled action sheet.

Primary LanguageObjective-CMIT LicenseMIT

CVCustomActionSheet

A super-simple, customizable iOS 8 - styled action sheet... Now with blocks!

Usage

  1. Import “CVCustomActionSheet.h”
  2. Init
CVCustomActionSheet *actionSheet = [[CVCustomActionSheet alloc] init];
  1. Add actions
[actionSheet addAction:[CVCustomAction actionWithTitle:@"Option"
                                                  type:CVCustomActionTypeDefault
                                               handler:nil]];

[actionSheet addAction:[CVCustomAction actionWithTitle:@"Cancel"
                                                  type:CVCustomActionTypeCancel
                                               handler:nil]];
  1. And present!
[actionSheet show];

Customization

Check out CVCustomActionSheetButtonConfiguration.h, you can customize literally everything.