-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIPDFContextMenu.h
More file actions
35 lines (22 loc) · 834 Bytes
/
IPDFContextMenu.h
File metadata and controls
35 lines (22 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// IPDFContextMenu.h
// InstaPDF
//
// Created by Maximilian Mackh on 02/02/15.
// Copyright (c) 2015 mackh ag. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface IPDFContextMenu : NSObject
+ (instancetype)menuWithActions:(NSArray *)actions;
- (void)show;
@property (nonatomic, assign) BOOL allowsContextMenuPlugIns; // Defaults to NO
@end
@interface IPDFContextMenuAction : NSObject
+ (instancetype)actionWithSeparator;
+ (instancetype)actionWithTitle:(NSString *)title handler:(void(^)(void))handler;
+ (instancetype)actionWithTitle:(NSString *)title keyEquivilant:(NSString *)keyEquivilant modifierMask:(NSUInteger)modifierMask handler:(void(^)(void))handler;
@property (nonatomic, assign) BOOL disableItem;
+ (NSString *)backspaceCharacter;
@end
NS_ASSUME_NONNULL_END