Sorry for the simple question but I feel like there's a smarter way to do this:
if ([txtFldTo.text length]>0){
//do something
}
else {
//do something else
}
where txtFldTo is an IBOutlet UITextField connected to a text field on the interface.