[Solved] Xcode 11, swift. Dateformatter always return nil [duplicate]
Update: It would appear that it is a bug in Xcode. Trying your code in the viewDidLoad and setting a breakpoint causes the lldb description of the date to be nil, however it correctly prints the expected value out. You can see more about the bug at this SO post, thanks to OOPer for the … Read more