Question: can uitextfield text be nil?
Answer: UITextField does not make any difference between an empty string and a nil string. ... Also, there was no way in Objective-C to prevent users from assigning nil to a property. The resulting contract is that text can be optional.