Question: I am using this Custom Segmented Controlcode in one of my View. I have one issue when I tried to setIndex I make it public and I passed the number of selected index I get this error “Thread 1: ...