-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBBModelController.h
36 lines (26 loc) · 956 Bytes
/
BBModelController.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
//
// BBModelController.h
// BubbleBusters
//
// Created by Anton Tikhonov on 13.11.12.
// Copyright (c) 2012 FPM Soft. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "BBAbout.h"
#import "BBIssue.h"
#import "BBIssueCategory.h"
@interface BBModelController : NSObject
@property (nonatomic, strong) NSString * selectedIssueTypeName;
@property (nonatomic, strong) NSMutableArray * categoriesArray;
@property (nonatomic, strong) BBIssueCategory * selectedIssueCategory;
#pragma mark Init Singleton
+ (id) sharedModelController;
#pragma mark Download Database
- (void) downloadSQLite;
#pragma mark Get Objects From Database
- (BBAbout *) getAboutObject;
- (NSMutableArray *) getTipsArray;
- (NSMutableArray *) getCategoriesArray;
- (BBIssue *) getIssueForIssueCategory: (BBIssueCategory *)_category byType: (int)issueType;
- (NSMutableArray *) getIssuesForCategory: (BBIssueCategory *)_category byType: (int)type;
@end