How to check if a string is a date in Swift 5?

后端 未结 0 641
自闭症患者
自闭症患者 2021-01-02 06:40

As the question states, is there a way to check if a string is a date in Swift 5? Say I have a list of strings:

mylist = ["Hello","1/25/22"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题