The documentation for the UISegmentedControl should help get you started. Pay special attention to the Overview.I don't. Can you explain?
Great. You could also have used a switch construct to achieve what the if statements do.I was able to complete the task by creating an action and creating 5 if statements within the action for each SegmentIndex (0,1,2,3,4).
if (index == 0) {
...code here...
} else if (index == 1) {
...other code here...
}
etc.
You're welcome. This is pretty basic Objective-C, heck even plain ol' C, codingYou mean adding the word else limits the amount of logic checking making my application run more efficiently....? Sounds like a winner. I appreciate your help.