I want to make the segment controller must be selected by user but i don't know how to detect if he choose a button on segment controller or not?
I'm trying to write:
if ( segmentbtn != nil)
{
Println(" You must select!")
}
but isn't working, i'm using Xcode on swift language.