Is there a way to check strings for nil and \"\" in Swift? In Rails, I can use blank() to check.
nil
\"\"
blank()
I currently have this, but i
you can use this func
class func stringIsNilOrEmpty(aString: String) -> Bool { return (aString).isEmpty }