For my education I build to build a dictionary app which is readable through picker view. It has basically a dutchwords array and a English words array.
And I can ad words as well. This is all working. And i though i could give the user the correct throw their indexes.
//selected by picker view
if englishDic.index == dutchDic.index{
//correct answer
}
else{
//wrong answer
}
It doesn't work this way.