VouchrActionSheetItem
@interface VouchrActionSheetItem : NSObject
VouchrActionSheetItem represents one item inside a VouchrActionSheetViewController.
-
The title shown inside the VouchrActionSheetItem - the title is center aligned
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *_Nonnull title;Swift
var title: String { get } -
The image shown inside the VouchrActionSheetItem - the image is left aligned
Declaration
Objective-C
@property (readonly, strong, nonatomic) UIImage *_Nonnull image;Swift
var image: UIImage { get } -
Default initializer for VouchrActionSheetItem
Declaration
Objective-C
+ (nonnull VouchrActionSheetItem *) vouchrActionSheetItemWithTitle:(nonnull NSString *)title image:(nonnull UIImage *)image;Swift
/*not inherited*/ init(title: String, image: UIImage)Parameters
title- the title for the action sheet item
image- the image for the action sheet item
Return Value
instance of VouchrActionSheetItem
View on GitHub
VouchrActionSheetItem Class Reference