hi all. Lets say i have a register form and it has around 15 UITextfields and all of them has to be filled. How i can check if they are empty or not ? I checked like
IS there any easier way to do that ?
Code:
if (definition.length > 0) {
if (city.length > 0) {
if (district.length > 0) {
if (address.length > 0) {
}else {
}
} else {
}else {
}
}else {
}
}
IS there any easier way to do that ?