Hi I'm new to the IPhoneSDK so please bear with me.
What I'm basically trying to do is I have one view with 10 buttons, named 'one' to 'ten' respectively. What I want to happen is that when I click on a button (eg: 'nine'), it'll go to another view, with animation, then on that next view, there's a label that will display the text corresponding on which button I previously clicked. (eg: I pressed 'nine' button, on the next page, the label will say 'nine')
If it's not much of a hassle, it would be greatly appreciated how each concept of yours works as well.
I basically have my own code but it's surely confusing and wrong.
Conceptually, what I tried and learned so far is:
1.) I tried animating and switching views using addSubviews, insert subviews, setAnimations etc. I managed to switch views but I don't know how to pass the data.
2.) I learned pushViewControllers. From the tutorials I saw, I practiced on having a hierarchal table. I learned that only UIViewControllers and UITableViewControllers are the only ones that can be pushed. I know how to apply it if it's in a table but I don't know how to apply it in views (because my app has the buttons randomly scattered across the screen)
If you can give me a rough sample of what I'm trying to do, even at least for the step-by-step concept, I would greatly appreciate it and will thank you all my life. I've been working on this for weeks. and not having an actual person to explain it to me properly is difficult.
Please and thank you kind sir/maam