Skip to content

Commit 50f3bb7

Browse files
jamie-conlonmgmart
authored andcommitted
Bug fix for #111 (#124)
* Flagging view now implemented using UIAlertController * Fixed memory leak issues with UIAlertController
1 parent 4046881 commit 50f3bb7

5 files changed

Lines changed: 104 additions & 307 deletions

File tree

Classes/Outline/ActionMenuController.h

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,44 +26,16 @@
2626
@class OutlineViewController;
2727

2828
@interface ActionMenuController : UIViewController {
29-
UILabel *titleField;
30-
UIButton *doneButton;
31-
UIButton *doneAndArchiveButton;
32-
UIButton *flagButton;
33-
UIButton *flagWithNoteButton;
34-
UIButton *documentViewButton;
35-
UIButton *cancelButton;
36-
29+
3730
Node *node;
38-
UITableViewCell *cell;
39-
UINavigationController *firstNavController;
4031
OutlineViewController *parentController;
41-
4232
bool showDocumentViewButton;
43-
44-
UIView *actionView;
4533
}
4634

47-
- (void)onDone;
48-
- (void)onDoneAndArchive;
49-
- (void)onFlag;
50-
- (void)onFlagWithNote;
51-
- (void)onDocumentView;
52-
- (void)onCancel;
53-
5435
@property (nonatomic, retain) Node *node;
55-
@property (nonatomic, retain) UITableViewCell *cell;
56-
@property (nonatomic, retain) UINavigationController *firstNavController;
5736
@property (nonatomic, retain) OutlineViewController *parentController;
58-
59-
@property (nonatomic, readonly) UILabel *titleField;
60-
@property (nonatomic, readonly) UIButton *doneButton;
61-
@property (nonatomic, readonly) UIButton *doneAndArchiveButton;
62-
@property (nonatomic, readonly) UIButton *flagButton;
63-
@property (nonatomic, readonly) UIButton *flagWithNoteButton;
64-
@property (nonatomic, readonly) UIButton *documentViewButton;
65-
@property (nonatomic, readonly) UIButton *cancelButton;
66-
6737
@property (nonatomic) bool showDocumentViewButton;
6838

39+
- (void)showActionSheet:(UIViewController*)controller;
40+
6941
@end

0 commit comments

Comments
 (0)