Hey!
I have an app that has 1 extra UIView integrated into the the myprojectsViewController view.
This is how it is:
The second UIView is resized and positioned at the top of the main view.
So then, I can change the type of the extra view to a core plot view (But to keep things simple im just going to say UIView instead).
Here is how im trying to get it to work:
Open myProjectsViewController.xib with Interface Builder.
Drag another UIView onto the original main UIView and resize it to the desired size and position.
Then I click on the view that I just customised and press file and then Write Class Files.
But then the code does not get executed.
I put the code in the classes that the Write Class Files option in Interface Builder made for me.
For example in secondViewThatsIntergratedIntoTheMainView.m:
-(void) viewDidLoad{
NSLog(@"Hello!");
[super viewDidLoad];
}
It will not log to the console.
So basically its a class not even related to the UIView.
The app is supposed to work like this:
The main view will have a bar chart at the top of it(Which is the need for an extra UIView) and at the bottom it will have normal UILabels (YOu cannot have them in Core Plot Views.)
I would be so damn grateful if any of you could help me out with this problem!
Please (I really do appreciate it) explain in detail as Im a bit new to this iPhone Development stuff!
Thanks very very very very very much for your time.
I have an app that has 1 extra UIView integrated into the the myprojectsViewController view.
This is how it is:
The second UIView is resized and positioned at the top of the main view.
So then, I can change the type of the extra view to a core plot view (But to keep things simple im just going to say UIView instead).
Here is how im trying to get it to work:
Open myProjectsViewController.xib with Interface Builder.
Drag another UIView onto the original main UIView and resize it to the desired size and position.
Then I click on the view that I just customised and press file and then Write Class Files.
But then the code does not get executed.
I put the code in the classes that the Write Class Files option in Interface Builder made for me.
For example in secondViewThatsIntergratedIntoTheMainView.m:
-(void) viewDidLoad{
NSLog(@"Hello!");
[super viewDidLoad];
}
It will not log to the console.
So basically its a class not even related to the UIView.
The app is supposed to work like this:
The main view will have a bar chart at the top of it(Which is the need for an extra UIView) and at the bottom it will have normal UILabels (YOu cannot have them in Core Plot Views.)
I would be so damn grateful if any of you could help me out with this problem!
Please (I really do appreciate it) explain in detail as Im a bit new to this iPhone Development stuff!
Thanks very very very very very much for your time.