-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComposeVDMVC.h
More file actions
35 lines (30 loc) · 902 Bytes
/
ComposeVDMVC.h
File metadata and controls
35 lines (30 loc) · 902 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
//
// ComposeVDMVC.h
// iMines-1
//
// Created by François de la Taste on 03/08/11.
// Copyright 2011 Mines ParisTech. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "VDMCategorySelectionTVC.h"
@class ComposeVDMVC;
@protocol ComposeVDMVCDelegate <NSObject>
@required
- (IBAction)ComposeVDMVC:(ComposeVDMVC *)cvdmvc shouldDismiss:(BOOL)shouldDismiss;
@end
@interface ComposeVDMVC : UIViewController <VDMCategorySelectionDelegate, UIActionSheetDelegate>
{
id <ComposeVDMVCDelegate> delegate;
IBOutlet UIScrollView *scrollView;
IBOutlet UITextView *textField;
IBOutlet UIBarButtonItem *rightBarButtonItem;
BOOL keyboardIsShown;
NSArray *categories;
IBOutlet UIButton *categoryButton;
int selectedCategoryNumber;
}
- (IBAction)dismiss;
- (IBAction)addVDM;
- (IBAction)selectCategory;
@property (nonatomic, assign) id <ComposeVDMVCDelegate> delegate;
@end