forked from woohj70/iPhotoDiary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppMainViewController.h
96 lines (75 loc) · 2.98 KB
/
AppMainViewController.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
//
// AppMainView.h
// iPhotoDiary
//
// Created by HYOUNG JUN WOO on 10. 5. 22..
// Copyright 2010 Mazdah.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ChildData.h"
#import "EXFLogging.h"
#import "AddChildViewController.h"
#import "AddNewChildViewController.h"
#import "ChildListViewController.h"
#import "KLCalendarModel.h"
#import "MCLunarDate.h"
#import "MCSolarDate.h"
#import "TodayEventTableViewController.h"
@interface AppMainViewController : UIViewController<NSFetchedResultsControllerDelegate, UIAlertViewDelegate> {
UIImageView *childPhotoView;
UIImageView *backgroundImageView;
UILabel *childName;
UILabel *ddi;
UILabel *childBirthday;
UILabel *childYear;
UILabel *zodiac;
UILabel *jewelry;
UILabel *childGender;
UIButton *birthLabel;
BOOL isLunarOrSolar;
NSMutableArray *childButtons;
// UITableView *todaysEventTable;
NSFetchedResultsController *fetchedResultsController;
NSManagedObjectContext *managedObjectContext;
NSEntityDescription *entityDescription;
ChildData *childData;
NSArray *childDatas;
ChildListViewController *childList;
NSDateFormatter *dateFormatter;
NSString *childButtonName;
UIImageView *genderImageView;
UIImageView *ddiImageView;
UIImageView *zodiacImageView;
UIImageView *jewelryImageView;
TodayEventTableViewController *todayEvent;
}
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) ChildData *childData;
@property (nonatomic, retain) NSEntityDescription *entityDescription;
@property (nonatomic, retain) NSArray *childDatas;
@property (nonatomic, retain) ChildListViewController *childList;
@property (nonatomic, retain) IBOutlet UIImageView *childPhotoView;
@property (nonatomic, retain) IBOutlet UIImageView *backgroundImageView;
@property (nonatomic, retain) IBOutlet UILabel *childName;
@property (nonatomic, retain) IBOutlet UILabel *ddi;
@property (nonatomic, retain) IBOutlet UILabel *childBirthday;
@property (nonatomic, retain) IBOutlet UILabel *childYear;
@property (nonatomic, retain) IBOutlet UILabel *zodiac;
@property (nonatomic, retain) IBOutlet UILabel *jewelry;
@property (nonatomic, retain) IBOutlet UILabel *childGender;
@property (nonatomic, retain) IBOutlet UIButton *birthLabel;
//@property (nonatomic, retain) IBOutlet UITableView *todaysEventTable;
@property (nonatomic, retain) NSDateFormatter *dateFormatter;
@property (nonatomic, retain) NSString *childButtonName;
@property (nonatomic, retain) IBOutlet UIImageView *ddiImageView;
@property (nonatomic, retain) IBOutlet UIImageView *zodiacImageView;
@property (nonatomic, retain) IBOutlet UIImageView *jewelryImageView;
@property (nonatomic, retain) IBOutlet UIImageView *genderImageView;
+ (NSString *)selectedChildName;
+ (NSMutableArray *)childrenArray;
- (IBAction)buttonPressed:(UIButton *)childButton;
- (IBAction)goChildAddView;
- (IBAction)toggleLunarAndSolar;
- (void)selectChild:(UIButton *)sender;
@end