Re: "Tab bars from scratch in Beta 4" Tutorial question
Quote:
Originally Posted by raptorlol
Hi,
What can I do to make for example the button RED to assign that color to the text and also to send me to the view where is the text?
Thanks
So, are you wondering how to change the text inside the button, or when you click the button not only does it change the color of the text, but that it also changes the view over to the the view with the label in it?
Re: "Tab bars from scratch in Beta 4" Tutorial question
Okay, so this is what you need to do. In your UICustomObject ( the solid yellow one ) you need to add in another IBOutlet of the type UITabBarController. Once you have done that your code in your UICustomObject should look something like this.
The selectedIndex protocol there changes which is the selected item in the tab bar controller. The first item in your tab bar is 0 the second one is 1 (and so on and so forth).
Re: "Tab bars from scratch in Beta 4" Tutorial question
Quote:
Originally Posted by MDMstudios
Okay, so this is what you need to do. In your UICustomObject ( the solid yellow one ) you need to add in another IBOutlet of the type UITabBarController. Once you have done that your code in your UICustomObject should look something like this.
The selectedIndex protocol there changes which is the selected item in the tab bar controller. The first item in your tab bar is 0 the second one is 1 (and so on and so forth).
This help?
Yeap! You are the man!
Where did you find this? I couldn't find anything.
Re: "Tab bars from scratch in Beta 4" Tutorial question
Quote:
Originally Posted by raptorlol
Quote:
Originally Posted by MDMstudios
Okay, so this is what you need to do. In your UICustomObject ( the solid yellow one ) you need to add in another IBOutlet of the type UITabBarController. Once you have done that your code in your UICustomObject should look something like this.
The selectedIndex protocol there changes which is the selected item in the tab bar controller. The first item in your tab bar is 0 the second one is 1 (and so on and so forth).
This help?
Yeap! You are the man!
Where did you find this? I couldn't find anything.
Thanks
No problem.
If you go on over to Xcode and then to help, and then to documentation it has all the class references that you will need, or if your documentation isn't updated you can go online to apples site and go to the iphone section of the site, and somewhere in there they have the documentation I believe.