Ok so I have a tab based application like this:
- Tab View Controller
- Two seperate .xib files FirstView and SecondView
The MainWindow.xib has a Tab Bar Controller with a blank view, and then a tab bar at the bottom with TWO Viewcontrollers
The first View has: Top Nav Bar with two Bar Buttons, a UIWebView
The second View has: Nav Bar w/ title and 6 buttons
Everything loads fine, and the tab buttons work.
But what I want to do is when the user taps one of the buttons on the second View, it goes back to the first view automatically, and then load a specified URL based on which button the user picked.
I pretty much need the whole process laid out for me, because i just don't understand.
I believe i need IBOutlets and then connect those with the buttons, but i don't know which file i should put the outlets in,
then i don't know how to make the actions to go make to the first view automatically, and then load a specified URL.
Very simple idea, but this is my first app that was above simply displaying things or following a strict tutorial. After I get this out of my way, i am going to begin to learn myself. I just REALLY need help on this, my deadline is monday, and I also have to figure out how to get it on my ipod.
If you need screenshots just ask.
EDIT: You know, people say that if you know C++ it should be easy to learn objective-c and how to make apps, well, it isn't i think I have problems connecting the interface with the code, I have only made command line applications recently in C++
- Tab View Controller
- Two seperate .xib files FirstView and SecondView
The MainWindow.xib has a Tab Bar Controller with a blank view, and then a tab bar at the bottom with TWO Viewcontrollers
The first View has: Top Nav Bar with two Bar Buttons, a UIWebView
The second View has: Nav Bar w/ title and 6 buttons
Everything loads fine, and the tab buttons work.
But what I want to do is when the user taps one of the buttons on the second View, it goes back to the first view automatically, and then load a specified URL based on which button the user picked.
I pretty much need the whole process laid out for me, because i just don't understand.
I believe i need IBOutlets and then connect those with the buttons, but i don't know which file i should put the outlets in,
then i don't know how to make the actions to go make to the first view automatically, and then load a specified URL.
Very simple idea, but this is my first app that was above simply displaying things or following a strict tutorial. After I get this out of my way, i am going to begin to learn myself. I just REALLY need help on this, my deadline is monday, and I also have to figure out how to get it on my ipod.
If you need screenshots just ask.
EDIT: You know, people say that if you know C++ it should be easy to learn objective-c and how to make apps, well, it isn't i think I have problems connecting the interface with the code, I have only made command line applications recently in C++