-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathMenu.h
More file actions
27 lines (24 loc) · 1.05 KB
/
Copy pathMenu.h
File metadata and controls
27 lines (24 loc) · 1.05 KB
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
#import <Foundation/Foundation.h>
#import "UIKit/UIKit.h"
#import "Page.h"
@interface Menu : UIView <UITextFieldDelegate>
@property (nonatomic, strong) NSMutableArray<Page *> *Pages;
@property (nonatomic, assign) int CurrentPage;
@property (nonatomic, strong) NSMutableDictionary *MenuItems;
@property (nonatomic) UIScrollView *ScrollViewRef;
- (void)addToggleItem:(NSString *)title_
description:(NSString *)description_ isOn:(BOOL)isOn_;
- (void)addPageItem:(NSString *)title_ targetPage:(NSUInteger)targetPage_;
- (void)addSliderItem:(NSString *)title_
description:(NSString *)description_ isOn:(BOOL)isOn_ isFloating:(BOOL)isFloating_ defaultValue:(float)defaultValue_ minValue:(float)minValue_ maxValue:(float)maxValue_;
- (BOOL)isItemOn:(NSString *)itemName;
- (float)getSliderValue:(NSString *)itemName;
- (NSString *)getTextfieldValue:(NSString *)itemName;
- (void)addPage:(Page *)page;
- (void)loadPage:(int)pageNumber;
- (void)backPage;
- (id)initMenu;
- (id)itemWithName:(NSString *)itemName;
- (void)setUserDefaultsAndDict;
- (UIButton *)getMenuButtRef ;
@end