self.nameText is a textField, right? And the isEmpty method is a convenience method you made on string that checks if length > 0, right? If you want, it might be nicer to make isEmpty a category on textField, if the only context in which you are using it is to make these isTheTextFieldEmpty checks more readable.