This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathCategoryTabBarViewController.h
52 lines (41 loc) · 1.71 KB
/
CategoryTabBarViewController.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// CategoryTabBarViewController.h
// iFixit
//
// Created by Stefan Ayala on 6/20/13.
//
//
#import <UIKit/UIKit.h>
#import "CategoryWebViewController.h"
#import "DetailGridViewController.h"
#import "ListViewController.h"
#import "CategoriesViewController.h"
#import "MGSplitViewController.h"
@class CategoriesViewController;
@interface CategoryTabBarViewController : UITabBarController <UINavigationBarDelegate, MGSplitViewControllerDelegate, UITabBarControllerDelegate>
// View controllers that our tab bar is going to reference
// iPad
@property (nonatomic, retain) DetailGridViewController *detailGridViewController;
@property (nonatomic, retain) UIPopoverController *popOverController;
@property (nonatomic, retain) UIButton *browseButton;
// iPhone
@property (nonatomic, retain) CategoriesViewController *categoriesViewController;
@property (nonatomic, retain) ListViewController *listViewController;
// Both
@property (nonatomic, retain) CategoryWebViewController *categoryMoreInfoViewController;
@property (nonatomic, retain) CategoryWebViewController *categoryAnswersWebViewController;
@property (nonatomic, retain) NSMutableArray *tabBarViewControllers;
@property (nonatomic, retain) NSDictionary *categoryMetaData;
@property (nonatomic, retain) UIImageView *toolBarFillerImage;
// Integers to be used as constants
@property int GUIDES;
@property int ANSWERS;
@property int MORE_INFO;
- (void)updateTabBar:(NSDictionary *)results;
- (void)enableTabBarItems:(BOOL)option;
- (void)showTabBar:(BOOL)option;
- (void)configureSubViewFrame:(int)viewControllerIndex;
- (void)gotCategoryResult:(NSDictionary *)results;
- (void)reflowLayout:(UIInterfaceOrientation)orientation;
- (void)hideBrowseInstructions:(BOOL)option;
@end